[csw-devel] SF.net SVN: gar:[13514] csw/mgar/pkg/cswclassutils/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Mar 1 22:24:30 CET 2011


Revision: 13514
          http://gar.svn.sourceforge.net/gar/?rev=13514&view=rev
Author:   bdwalton
Date:     2011-03-01 21:24:30 +0000 (Tue, 01 Mar 2011)

Log Message:
-----------
cswclassutils/trunk: dynamically generate overrides to the /usr/sadm file location warning from checkpkg

Modified Paths:
--------------
    csw/mgar/pkg/cswclassutils/trunk/Makefile

Modified: csw/mgar/pkg/cswclassutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswclassutils/trunk/Makefile	2011-03-01 21:01:47 UTC (rev 13513)
+++ csw/mgar/pkg/cswclassutils/trunk/Makefile	2011-03-01 21:24:30 UTC (rev 13514)
@@ -49,6 +49,10 @@
 # $(eval CHECKPKG_OVERRIDES_CSWcswclassutils += surplus-dependency|$(call csw_pkgname,$(1)))
 # endef
 
+define bad_location
+$(eval CHECKPKG_OVERRIDES_CSWcas-$(1) += bad-location-of-file|file=/usr/sadm/install/scripts/$(2).csw$(1))
+endef
+
 # end of handy functions
 
 DESCRIPTION = CSW class action utilities
@@ -98,6 +102,11 @@
 # tell checkpkg to ignore the surplus dep on the subpkgs
 #$(foreach C,$(CSWCLASSES),$(call surplus_dep,$(C)))
 
+# tell checkpkg to ignore the bad file location in the subpackages
+$(foreach C,$(CSWCLASSES),$(call bad_location,$(call cas_shortname,$(C)),i))
+$(foreach C,$(CSWCLASSES),$(call bad_location,$(call cas_shortname,$(C)),r))
+
+
 # Add non-auto changes to checkpkg overrides, pkg files, etc.
 
 PKGFILES_CSWcas-cptemplates += /opt/csw/etc/templates


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