Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for scripts.

This commit is contained in:
Satsuki Fujishima 2001-03-19 19:19:23 +00:00 committed by Alexandre Julliard
parent 13535251bf
commit f34f418926
3 changed files with 5 additions and 4 deletions

View File

@ -75,6 +75,7 @@ LIBUUID = -L$(TOPOBJDIR)/ole -lwine_uuid
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
prefix = @prefix@
exec_prefix = @exec_prefix@

View File

@ -44,9 +44,9 @@ bin2res: bin2res.o
install:: $(PROGRAMS) $(INSTALLSUBDIRS:%=%/__install__)
[ -d $(bindir) ] || $(MKDIR) $(bindir)
$(INSTALL_PROGRAM) fnt2bdf $(bindir)/fnt2bdf
$(INSTALL_PROGRAM) winelauncher $(bindir)/winelauncher
$(INSTALL_PROGRAM) $(SRCDIR)/winemaker $(bindir)/winemaker
$(INSTALL_PROGRAM) $(SRCDIR)/wineshelllink $(bindir)/wineshelllink
$(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
$(INSTALL_SCRIPT) $(SRCDIR)/wineshelllink $(bindir)/wineshelllink
uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)
$(RM) $(bindir)/fnt2bdf $(bindir)/winelauncher $(bindir)/winemaker $(bindir)/wineshelllink

View File

@ -26,7 +26,7 @@ specmaker: $(OBJS)
install:: $(PROGRAMS)
[ -d $(bindir) ] || $(MKDIR) $(bindir)
$(INSTALL_PROGRAM) specmaker $(bindir)/specmaker
$(INSTALL_PROGRAM) $(SRCDIR)/function_grep.pl $(bindir)/function_grep.pl
$(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(bindir)/function_grep.pl
uninstall::
$(RM) $(bindir)/specmaker