[csw-devel] SF.net SVN: gar:[7184] csw/mgar/gar/v2/categories

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Nov 9 17:59:07 CET 2009


Revision: 7184
          http://gar.svn.sourceforge.net/gar/?rev=7184&view=rev
Author:   wahwah
Date:     2009-11-09 16:59:07 +0000 (Mon, 09 Nov 2009)

Log Message:
-----------
gar-v2: Adding 'loose' category

Added Paths:
-----------
    csw/mgar/gar/v2/categories/loose/
    csw/mgar/gar/v2/categories/loose/category.mk

Added: csw/mgar/gar/v2/categories/loose/category.mk
===================================================================
--- csw/mgar/gar/v2/categories/loose/category.mk	                        (rev 0)
+++ csw/mgar/gar/v2/categories/loose/category.mk	2009-11-09 16:59:07 UTC (rev 7184)
@@ -0,0 +1,28 @@
+# $Id$
+#
+# Building packages from loose files, laid out in a directory.
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+INSTALL_SCRIPTS = loose
+TEST_SCRIPTS =
+
+MASTER_SITES += $(sort $(addprefix file://$(LOCAL_SRC)/,$(dir $(FILES))))
+DISTFILES    += $(notdir $(FILES))
+
+include gar/gar.mk
+
+ifndef LOCAL_SRC
+$(error "Please set the LOCAL_SRC variable to the root of your source code tree")
+endif
+
+ifndef FILES
+$(error "Please set the FILES variable to the list of files to include")
+endif
+
+install-loose:
+	$(foreach F,$(FILES),ginstall \
+		-d $(DESTDIR)$(prefix)/$(dir $F) \
+		&& ginstall $(WORKDIR)/$(notdir $F) \
+		$(DESTDIR)$(prefix)/$(dir $F);)
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/gar/v2/categories/loose/category.mk
___________________________________________________________________
Added: svn:keywords
   + Id


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list