Added a new target "programs" to the makefile.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 28 Sep 2009 18:27:04 +0000 (20:27 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 28 Sep 2009 18:27:04 +0000 (20:27 +0200)
When a source file is changed, the "all" target (correctly) rebuilds
the po/pspp.pot file and remerges the PO files for all supported translations,
and then builds .gmo files for each of them.   Whilst this is correct behaviour,
it will become an unmitigated nuisance for developers as more and more
translations are added.

This change adds a new target called "programs" which builds the binaries, but
not the ancilliary targets. This target is more convienient for working on
changes to the source code, when translations are not of interest.

Makefile.am

index 4f9bc660a080089f478aac5d2755e0d05875ece2..6fca4b1c29699b2bd77cb74fe4b416a7b0d9ac9e 100644 (file)
@@ -87,3 +87,6 @@ uninstall-hook: $(UNINSTALL_DATA_HOOKS)
 
 clean-local: $(CLEAN_LOCAL)
 all-local: $(ALL_LOCAL)
+
+# A convenience target to build all the binaries
+programs: $(PROGRAMS)