[csw-devel] SF.net SVN: gar:[2981] csw/mgar/pkg/dbus/trunk/Makefile
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Wed Feb 4 00:08:05 CET 2009
Revision: 2981
http://gar.svn.sourceforge.net/gar/?rev=2981&view=rev
Author: wbonnet
Date: 2009-02-03 23:08:05 +0000 (Tue, 03 Feb 2009)
Log Message:
-----------
Update makefile
Modified Paths:
--------------
csw/mgar/pkg/dbus/trunk/Makefile
Modified: csw/mgar/pkg/dbus/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dbus/trunk/Makefile 2009-02-03 22:34:48 UTC (rev 2980)
+++ csw/mgar/pkg/dbus/trunk/Makefile 2009-02-03 23:08:05 UTC (rev 2981)
@@ -19,8 +19,8 @@
SPKG_DESC_CSWlibdbusdev = $(DESCRIPTION) development package
# SMF support
-SPKG_CLASSES = none cswinitsmf
-PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswdbus$$$$/ { $$$$2 = "cswinitsmf" } { print }'
+SPKG_CLASSES = none cswinitsmf cswcpsampleconf
+PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswdbus$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/system.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } $$$$3 ~ /\/session.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } { print }'
DISTFILES += $(call admfiles,CSWdbus, preinstall, )
DISTFILES += cswdbus
@@ -31,12 +31,12 @@
PKGFILES_CSWlibdbusdev = $(PKGFILES_DEVEL)
PKGFILES_CSWlibdbusdev += $(includedir)/include/(.*)
PKGFILES_CSWlibdbusdev += $(libdir)/dbus-1.0/(.*)
-PKGFILES_CSWlibdbusdev += $(libdir)/(.*)\.a
+PKGFILES_CSWlibdbusdev += $(libdir)/libdbus-1.a
PKGFILES_CSWlibdbusdev += $(libdir)/pkgconfig/(.*)
# Dynamic CSWlibdbus prototype
PKGFILES_CSWlibdbus = $(PKGFILES_RT)
-PKGFILES_CSWlibdbus += $(libdir)/(.*)\.la
+PKGFILES_CSWlibdbus += $(libdir)/libdbus-1.la
PKGFILES_CSWlibdbus += $(libdir)/(.*)\.so
PKGFILES_CSWlibdbus += $(libdir)/(.*)\.so\.(.*)
@@ -52,11 +52,14 @@
# moving configuration file & installing init script
post-install:
- ( ginstall -d $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/etc/rc3.d ; \
+ ( OLDDIR=`pwd` && cd $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/opt/csw/etc/dbus-1 && \
+ for i in *.conf ; do mv $$i $$i.CSW ; done && cd $$OLDDIR ; \
+ ginstall -d $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/etc/rc3.d ; \
ginstall -d $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/etc/init.d ; \
cp -fr $(FILEDIR)/cswdbus $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/etc/init.d ; \
rm -f $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/etc/rc3.d/S52cswdbus ; \
ln -s ../init.d/cswdbus $(WORKROOTDIR)/install-$(firstword $(MODULATIONS))/etc/rc3.d/S52cswdbus ; )
+ @$(MAKECOOKIE)
include gar/category.mk
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