Aloa,

the attached patch makes sure, that "all" ist the default goal, even when 
there are other targets in .cvspkgsrc. This allows to define other targets in 
this configuration file without changing the default goal. When one wants to 
change the default goal, this is still possible with setting .DEFAULT_GOAL to 
this goal.

Regards,
Till
Index: Makefile.common
===================================================================
RCS file: /cvs/pkgs/common/Makefile.common,v
retrieving revision 1.72
diff -u -r1.72 Makefile.common
--- Makefile.common	7 Jul 2007 15:11:29 -0000	1.72
+++ Makefile.common	12 Jul 2007 12:35:57 -0000
@@ -95,6 +95,7 @@
 RPM_BUILD_DIR ?= $(BUILDDIR)/$(NAME)-$(VERSION)
 
 # default target: just make sure we've got the sources
+.DEFAULT_GOAL:= all
 all: sources
 
 # user specific configuration
--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to