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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Apr 21 04:01:11 CEST 2011


Revision: 14366
          http://gar.svn.sourceforge.net/gar/?rev=14366&view=rev
Author:   bdwalton
Date:     2011-04-21 02:01:10 +0000 (Thu, 21 Apr 2011)

Log Message:
-----------
bacula/trunk: simplify post install routine, let GAR handle README.CSW

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

Modified: csw/mgar/pkg/bacula/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bacula/trunk/Makefile	2011-04-21 01:34:24 UTC (rev 14365)
+++ csw/mgar/pkg/bacula/trunk/Makefile	2011-04-21 02:01:10 UTC (rev 14366)
@@ -236,20 +236,18 @@
 		ginstall -m 0755 bacula-dir.csw $(INITD)/cswbacula-dir; \
 		for s in fd sd; do \
 			ginstall -m 0755 bacula-$$s $(INITD)/cswbacula-$$s; \
-		done )
-	@(ginstall -d -m 0755 $(DESTDIR)/var/opt/csw/run)
+		done; \
+		cd ../..; \
+		ginstall -m 0755 updatedb/update_mysql_tables_10_to_11 $(DESTDIR)$(prefix)/libexec/bacula; \
+		gcp -pR examples $(DOCD); \
+		ginstall -d -m 0755 $(DESTDIR)/var/opt/csw/run;)
 	@(for p in console director sd fd; do \
 		ginstall -d -m 0755 $(DOCD)_$$p; \
 		ginstall -m 0644 $(WORKDIR)/postmsg $(DOCD)_$$p/README.postmsg; \
 	done)
-	@(ginstall -d -m 0755 $(DOCD) $(DOCD)_director; \
-		 gcp -pR $(WORKSRC)/examples $(DOCD); \
-		ginstall -m 0644 $(WORKDIR)/README.CSW $(DESTDIR)/$(docdir)/$(NAME)_director/)
 	@( cd $(DESTDIR)/opt/csw/libexec/bacula/; \
 	   for f in mtx-changer.conf query.sql; do \
 		mv $$f $(DESTDIR)/etc/opt/csw/bacula/$$f; \
 		ln -s /etc/opt/csw/bacula/$$f $$f; \
 	   done)
-	@(cd $(WORKSRC)/updatedb; \
-		ginstall -m 0755 update_mysql_tables_10_to_11 $(DESTDIR)$(prefix)/libexec/bacula )
 	@$(MAKECOOKIE)


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