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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Wed Jun 2 18:20:32 CEST 2010


Revision: 10074
          http://gar.svn.sourceforge.net/gar/?rev=10074&view=rev
Author:   skayser
Date:     2010-06-02 16:20:31 +0000 (Wed, 02 Jun 2010)

Log Message:
-----------
snmptt: even more path fixes

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

Modified: csw/mgar/pkg/snmptt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/snmptt/trunk/Makefile	2010-06-02 16:07:46 UTC (rev 10073)
+++ csw/mgar/pkg/snmptt/trunk/Makefile	2010-06-02 16:20:31 UTC (rev 10074)
@@ -42,12 +42,13 @@
 	ginstall -d $(DESTDIR)$(sysconfdir)/snmp
 	ginstall -d $(DESTDIR)$(localstatedir)/log/snmptt
 	ginstall -d $(DESTDIR)$(localstatedir)/spool/snmptt/
-	ginstall -d $(DOCDEST) $(DOCDEST)/examples
 
 	ginstall -m 755 $(addprefix $(WORKSRC)/, $(BIN)) $(DESTDIR)$(bindir)
 	ginstall -m 755 $(addprefix $(WORKSRC)/,$(SBIN)) $(DESTDIR)$(sbindir)
-	gsed -i 's,/usr/bin/perl,/opt/csw/bin/perl,' $(DESTDIR)$(bindir)/*
-	gsed -i 's,/usr/bin/perl,/opt/csw/bin/perl,' $(DESTDIR)$(sbindir)/*
+	gsed -i \
+		-e 's,/usr/bin/perl,/opt/csw/bin/perl,' \
+		-e 's,/etc/snmp/,$(sysconfdir)/snmp/,' \
+		$(DESTDIR)$(bindir)/* $(DESTDIR)$(sbindir)/*
 
 	cp $(WORKSRC)/snmptt.ini $(DESTDIR)$(sysconfdir)/snmp/snmptt.ini
 	gsed -i \
@@ -58,6 +59,5 @@
 	cp $(WORKSRC)/examples/snmptt.conf.generic \
 		$(DESTDIR)$(sysconfdir)/snmp/snmptt.conf
 
-	cp $(WORKSRC)/examples/* $(WORKSRC)/sample-* $(DOCDEST)/examples
 	cp $(WORKSRC)/docs/* $(DOCDEST)
 	@$(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