Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > 34938698775a3b90daa808c2db7160b8 > files > 2

nbsmtp-1.00-4mdv2009.0.src.rpm

--- ../nbsmtp-1.00.old/Makefile.in	2006-07-11 15:31:21.134627750 +0200
+++ Makefile.in	2006-07-11 15:31:33.071373750 +0200
@@ -4,8 +4,8 @@
 exec_prefix=@exec_prefix@
 libexecdir=@libexecdir@
 doxygen=@doxygen@
-bindir=$(prefix)/bin
-mandir=$(prefix)/man
+bindir=@bindir@
+mandir=@mandir@
 iconpath=$(prefix)/nbsmtp-@PACKAGE_VERSION@
 INSTALL=@INSTALL@
 
@@ -31,24 +31,24 @@
 install: nbsmtp
 	[ "x@OSXMODULE@" = "xyes" ] \
 	&& ( \
-		$(INSTALL) -d $(iconpath); \
-		$(INSTALL) nbsmtp-growl.png $(iconpath)/nbsmtp-growl.png; ) \
+		$(INSTALL) -d $(DESTDIR)$(iconpath); \
+		$(INSTALL) nbsmtp-growl.png $(DESTDIR)$(iconpath)/nbsmtp-growl.png; ) \
 	|| ( true )
-	$(INSTALL) -d $(bindir)
-	$(INSTALL) nbsmtp $(bindir)/nbsmtp
-	$(INSTALL) -d $(mandir)/man8
-	$(INSTALL) nbsmtp.8 $(mandir)/man8/nbsmtp.8
-	$(INSTALL) -d $(mandir)/man5
-	$(INSTALL) nbsmtprc.5 $(mandir)/man5/nbsmtprc.5
+	$(INSTALL) -d $(DESTDIR)$(bindir)
+	$(INSTALL) nbsmtp $(DESTDIR)$(bindir)/nbsmtp
+	$(INSTALL) -d $(DESTDIR)$(mandir)/man8
+	$(INSTALL) nbsmtp.8 $(DESTDIR)$(mandir)/man8/nbsmtp.8
+	$(INSTALL) -d $(DESTDIR)$(mandir)/man5
+	$(INSTALL) nbsmtprc.5 $(DESTDIR)$(mandir)/man5/nbsmtprc.5
 
 doc:
 	@( [ ! -z $(doxygen) ] && $(doxygen) Doxyfile ) || echo "Doxygen wasn't found"
 
 uninstall:
-	$(RM) $(iconpath)/nbsmtp-growl.png
-	$(RM) $(bindir)/nbsmtp
-	$(RM) $(mandir)/man8/nbsmtp.8
-	$(RM) $(mandir)/man5/nbsmtprc.5
+	$(RM) $(DESTDIR)$(iconpath)/nbsmtp-growl.png
+	$(RM) $(DESTDIR)$(bindir)/nbsmtp
+	$(RM) $(DESTDIR)$(mandir)/man8/nbsmtp.8
+	$(RM) $(DESTDIR)$(mandir)/man5/nbsmtprc.5
 
 changelog:
 	perl cvs2cl.pl -U AUTHORS -r -T