Makefile.in.patch revision 5680
5680N/AHonor DESTDIR when installing files; simplifies build and packaging.
5680N/A
5680N/AAppropriate for upstream.
5680N/A--- pconsole-1.0.old/Makefile.in 2001-04-06 18:38:45.000000000 -0700
5680N/A+++ pconsole-1.0/Makefile.in 2015-12-09 14:18:22.312611616 -0800
5680N/A@@ -79,19 +79,19 @@
5680N/A install: all
5680N/A @( \
5680N/A echo "installing pconsole ..."; \
5680N/A- mkdir -p $(bindir) 2>/dev/null ; \
5680N/A- @INSTALL_PROGRAM@ pconsole $(bindir) ; \
5680N/A- @INSTALL_SCRIPT@ pconsole.sh $(bindir) ; \
5680N/A- @INSTALL_SCRIPT@ ssh.sh $(bindir) ; \
5680N/A+ mkdir -p "$(DESTDIR)$(bindir)" 2>/dev/null ; \
5680N/A+ @INSTALL_PROGRAM@ pconsole "$(DESTDIR)$(bindir)" ; \
5680N/A+ @INSTALL_SCRIPT@ pconsole.sh "$(DESTDIR)$(bindir)" ; \
5680N/A+ @INSTALL_SCRIPT@ ssh.sh "$(DESTDIR)$(bindir)" ; \
5680N/A echo ; \
5680N/A echo "Note: You may want to make pconsole setuid root with the following commands:"; \
5680N/A echo ; \
5680N/A- echo " chown root $(bindir)/pconsole ; chmod 4110 $(bindir)/pconsole" ; \
5680N/A+ echo " chown root $(DESTDIR)$(bindir)/pconsole ; chmod 4110 $(DESTDIR)$(bindir)/pconsole" ; \
5680N/A echo \
5680N/A )
5680N/A
5680N/A uninstall:
5680N/A- rm -f $(bindir)/pconsole $(bindir)/pconsole.sh $(bindir)/ssh.sh ; \
5680N/A- rmdir $(bindir) 2>/dev/null
5680N/A+ rm -f $(DESTDIR)$(bindir)/pconsole $(DESTDIR)$(bindir)/pconsole.sh $(DESTDIR)$(bindir)/ssh.sh ; \
5680N/A+ rmdir $(DESTDIR)$(bindir) 2>/dev/null
5680N/A
5680N/A # EOB