Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for scripts.
This commit is contained in:
parent
13535251bf
commit
f34f418926
|
@ -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@
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue