[GRASS-SVN] r40060 - grass/branches/releasebranch_6_4/general/g.version

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 19 06:51:52 EST 2009


Author: martinl
Date: 2009-12-19 06:51:51 -0500 (Sat, 19 Dec 2009)
New Revision: 40060

Modified:
   grass/branches/releasebranch_6_4/general/g.version/Makefile
Log:
don't use order-only prerequisites (see trac #595)


Modified: grass/branches/releasebranch_6_4/general/g.version/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/general/g.version/Makefile	2009-12-19 11:41:59 UTC (rev 40059)
+++ grass/branches/releasebranch_6_4/general/g.version/Makefile	2009-12-19 11:51:51 UTC (rev 40060)
@@ -20,10 +20,12 @@
 
 include $(MODULE_TOPDIR)/include/Make/Module.make
 
-default: cmd
+default:
+	$(MAKE) $(OBJDIR)
+	$(MAKE) cmd
 
-$(OBJDIR)/copying.h: $(MODULE_TOPDIR)/COPYING | $(OBJDIR)
+$(OBJDIR)/copying.h: $(MODULE_TOPDIR)/COPYING
 	sed -e 's/^\(.*\)$$/"\1\\n"/' $< > $@
 
-$(OBJDIR)/confparms.h: $(MODULE_TOPDIR)/config.status | $(OBJDIR)
+$(OBJDIR)/confparms.h: $(MODULE_TOPDIR)/config.status
 	sed -n '7s/^#\(.*\)$$/"\1"/p' $< > $@



More information about the grass-commit mailing list