[GRASS-SVN] r40061 - grass/branches/develbranch_6/general/g.version

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 19 06:54:47 EST 2009


Author: martinl
Date: 2009-12-19 06:54:47 -0500 (Sat, 19 Dec 2009)
New Revision: 40061

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


Modified: grass/branches/develbranch_6/general/g.version/Makefile
===================================================================
--- grass/branches/develbranch_6/general/g.version/Makefile	2009-12-19 11:51:51 UTC (rev 40060)
+++ grass/branches/develbranch_6/general/g.version/Makefile	2009-12-19 11:54:47 UTC (rev 40061)
@@ -21,10 +21,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