freebsd-ports/net/gift/files/patch-src:Makefile.in
2001-11-19 23:47:02 +00:00

47 lines
1.3 KiB
Text

--- src/Makefile.in.orig Thu Sep 27 13:11:51 2001
+++ src/Makefile.in Mon Nov 19 21:43:46 2001
@@ -65,7 +65,8 @@
AM_CFLAGS = -Wall
-bin_PROGRAMS = giFT giFTget
+bin_PROGRAMS = giFTget
+sbin_PROGRAMS = giFT
LDADD = ../lib/libgiFT.a
INCLUDES = -I../lib
@@ -78,7 +79,7 @@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
-PROGRAMS = $(bin_PROGRAMS)
+PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
DEFS = @DEFS@ -I. -I$(srcdir) -I..
@@ -137,6 +138,16 @@
else :; fi; \
done
+install-sbinPROGRAMS: $(sbin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(sbindir)
+ @list='$(sbin_PROGRAMS)'; for p in $$list; do \
+ if test -f $$p; then \
+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+ else :; fi; \
+ done
+
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(bin_PROGRAMS)'; for p in $$list; do \
@@ -230,7 +241,7 @@
check: check-am
installcheck-am:
installcheck: installcheck-am
-install-exec-am: install-binPROGRAMS
+install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
install-exec: install-exec-am
install-data-am: