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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed Aug 12 19:55:58 CEST 2009


Revision: 6012
          http://gar.svn.sourceforge.net/gar/?rev=6012&view=rev
Author:   valholla
Date:     2009-08-12 17:55:57 +0000 (Wed, 12 Aug 2009)

Log Message:
-----------
tweaks for install

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

Modified: csw/mgar/pkg/sendmail/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sendmail/trunk/Makefile	2009-08-12 17:40:26 UTC (rev 6011)
+++ csw/mgar/pkg/sendmail/trunk/Makefile	2009-08-12 17:55:57 UTC (rev 6012)
@@ -132,12 +132,6 @@
 		mv $(DESTDIR)$(sbindir)/$$file $(DESTDIR)$(sbindir)/$(SOLVER).$$file;\
 		done )
 
-	@# create links in bindir
-	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/newaliases
-	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/mailq
-	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/purgestats
-	ln -s $(libdir)/sendmail $(DESTDIR)$(bindir)/hoststat
-
 	@# install manpages
 	( for file in $(MANFILES1) ; do \
 		ginstall -m 644 $(OBJDIR)/$$file $(DESTDIR)$(mandir)/man1 ; \
@@ -167,6 +161,12 @@
 	@$(MAKECOOKIE)
 
 merge-OS:
+	@# create links in bindir
+	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/newaliases
+	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/mailq
+	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/purgestats
+	ln -s $(libdir)/sendmail $(PKGROOT)$(bindir)/hoststat
+
 	@# Install the other install trees
 	( for dir in `ls -d $(abspath $(WORKROOTDIR)/install*-$(MODULATION))` ; do \
 		( if [ "x`echo $$dir |sed "s/.*install-\(5.[0-9]*\)-$(MODULATION).*/\1/"`x" != "x$(GAROSREL)x" ]; then \


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