vapier 14/10/19 17:06:10 Modified: Makefile Log: install scripts explicitly #525852
Revision Changes Path 1.86 pax-utils/Makefile file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.86&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?rev=1.86&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/Makefile?r1=1.85&r2=1.86 Index: Makefile =================================================================== RCS file: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- Makefile 19 Oct 2014 08:20:55 -0000 1.85 +++ Makefile 19 Oct 2014 17:06:10 -0000 1.86 @@ -1,6 +1,6 @@ # Copyright 2003-2006 Ned Ludd <[email protected]> # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.85 2014/10/19 08:20:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-projects/pax-utils/Makefile,v 1.86 2014/10/19 17:06:10 vapier Exp $ #################################################################### check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ @@ -57,6 +57,8 @@ MACH_OBJS = paxmacho.o COMMON_OBJS = paxinc.o xfuncs.o TARGETS = $(ELF_TARGETS) $(MACH_TARGETS) +SCRIPTS_SH = lddtree symtree +SCRIPTS_PY = lddtree OBJS = $(ELF_OBJS) $(MACH_OBJS) $(COMMON_OBJS) $(TARGETS:%=%.o) MPAGES = $(TARGETS:%=man/%.1) SOURCES = $(OBJS:%.o=%.c) @@ -110,9 +112,9 @@ install: all $(MKDIR) $(PREFIX)/bin/ $(MANDIR)/man1/ $(PKGDOCDIR)/ - for sh in *.sh ; do $(INS_EXE) $$sh $(PREFIX)/bin/$${sh%.sh} || exit $$? ; done + for sh in $(SCRIPTS_SH) ; do $(INS_EXE) $$sh.sh $(PREFIX)/bin/$$sh || exit $$? ; done ifneq ($(USE_PYTHON),no) - for py in *.py ; do $(INS_EXE) $$py $(PREFIX)/bin/$${py%.py} || exit $$? ; done + for py in $(SCRIPTS_PY) ; do $(INS_EXE) $$py.py $(PREFIX)/bin/$$py || exit $$? ; done endif $(INS_EXE) $(TARGETS) $(PREFIX)/bin/ $(INS_DATA) README BUGS TODO $(PKGDOCDIR)/
