Commit 53928443 authored by Mike Frysinger's avatar Mike Frysinger Committed by Alexandre Julliard

Add support for 'make install DESTDIR'.

parent 51a31987
...@@ -76,8 +76,8 @@ wine: $(WINEWRAPPER) ...@@ -76,8 +76,8 @@ wine: $(WINEWRAPPER)
# Installation rules # Installation rules
install-aclocal: dummy install-aclocal: dummy
$(MKINSTALLDIRS) $(datadir)/aclocal $(MKINSTALLDIRS) $(DESTDIR)$(datadir)/aclocal
$(INSTALL_DATA) $(SRCDIR)/aclocal.m4 $(datadir)/aclocal/wine.m4 $(INSTALL_DATA) $(SRCDIR)/aclocal.m4 $(DESTDIR)$(datadir)/aclocal/wine.m4
install-lib:: $(INSTALLLIBSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__install-lib__) install-lib:: $(INSTALLLIBSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__install-lib__)
...@@ -86,8 +86,8 @@ install-dev:: $(INSTALLDEVSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__in ...@@ -86,8 +86,8 @@ install-dev:: $(INSTALLDEVSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__in
install:: install-lib install-dev install-aclocal install:: install-lib install-dev install-aclocal
uninstall:: $(INSTALLBOTHSUBDIRS:%=%/__uninstall__) uninstall:: $(INSTALLBOTHSUBDIRS:%=%/__uninstall__)
$(RM) $(datadir)/aclocal/wine.m4 $(RM) $(DESTDIR)$(datadir)/aclocal/wine.m4
-rmdir $(datadir)/wine $(datadir)/aclocal -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/aclocal
.PHONY: install-aclocal .PHONY: install-aclocal
......
...@@ -109,19 +109,19 @@ WIN16_INSTALL = $(ALL_SPECS16:%=_install_/%) ...@@ -109,19 +109,19 @@ WIN16_INSTALL = $(ALL_SPECS16:%=_install_/%)
.PHONY: $(ALL_SPECS16:%=_install_/%) $(IMPORTLIB:%=_install_/%) $(IMPLIB_OBJS:%=_install_static_implib_/%) .PHONY: $(ALL_SPECS16:%=_install_/%) $(IMPORTLIB:%=_install_/%) $(IMPLIB_OBJS:%=_install_static_implib_/%)
$(ALL_SPECS16:%=_install_/%): install_lib $(ALL_SPECS16:%=_install_/%): install_lib
cd $(dlldir) && $(RM) `basename $@`$(DLLEXT) && $(LN_S) $(MODULE)$(DLLEXT) `basename $@`$(DLLEXT) cd $(DESTDIR)$(dlldir) && $(RM) `basename $@`$(DLLEXT) && $(LN_S) $(MODULE)$(DLLEXT) `basename $@`$(DLLEXT)
install_lib: $(MODULE)$(DLLEXT) install_lib: $(MODULE)$(DLLEXT)
$(MKINSTALLDIRS) $(dlldir) $(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
$(INSTALL_PROGRAM) $(MODULE)$(DLLEXT) $(dlldir)/$(MODULE)$(DLLEXT) $(INSTALL_PROGRAM) $(MODULE)$(DLLEXT) $(DESTDIR)$(dlldir)/$(MODULE)$(DLLEXT)
$(IMPORTLIB:%=_install_/%): $(IMPORTLIB) $(IMPORTLIB:%=_install_/%): $(IMPORTLIB)
$(MKINSTALLDIRS) $(dlldir) $(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
$(INSTALL_DATA) $(IMPORTLIB) $(dlldir)/$(IMPORTLIB) $(INSTALL_DATA) $(IMPORTLIB) $(DESTDIR)$(dlldir)/$(IMPORTLIB)
install_static_implib_def: $(STATICIMPLIB) install_static_implib_def: $(STATICIMPLIB)
$(MKINSTALLDIRS) $(dlldir) $(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
$(INSTALL_DATA) $(STATICIMPLIB) $(dlldir)/$(STATICIMPLIB) $(INSTALL_DATA) $(STATICIMPLIB) $(DESTDIR)$(dlldir)/$(STATICIMPLIB)
install_static_implib_a: install_static_implib_a:
...@@ -132,7 +132,7 @@ install install-lib:: install_lib @WIN16_INSTALL@ ...@@ -132,7 +132,7 @@ install install-lib:: install_lib @WIN16_INSTALL@
install install-dev:: $(IMPORTLIB:%=_install_/%) $(IMPLIB_OBJS:%=_install_static_implib_/%) install install-dev:: $(IMPORTLIB:%=_install_/%) $(IMPLIB_OBJS:%=_install_static_implib_/%)
uninstall:: uninstall::
[ ! -d $(dlldir) ] || (cd $(dlldir) && $(RM) $(MODULE)$(DLLEXT) $(IMPORTLIB) $(STATICIMPLIB) $(ALL_SPECS16:%=%$(DLLEXT))) -cd $(DESTDIR)$(dlldir) && $(RM) $(MODULE)$(DLLEXT) $(IMPORTLIB) $(STATICIMPLIB) $(ALL_SPECS16:%=%$(DLLEXT))
# Misc. rules # Misc. rules
......
...@@ -1771,7 +1771,7 @@ install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__) ...@@ -1771,7 +1771,7 @@ install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__) install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
uninstall:: uninstall::
-rmdir $(dlldir) -rmdir $(DESTDIR)$(dlldir)
clean:: clean::
$(RM) $(IMPORT_SYMLINKS) $(RM) $(IMPORT_SYMLINKS)
......
...@@ -24,11 +24,11 @@ $(MODULE): $(OBJS) Makefile.in ...@@ -24,11 +24,11 @@ $(MODULE): $(OBJS) Makefile.in
# Rules for installation # Rules for installation
install install-dev:: $(MODULE) install install-dev:: $(MODULE)
$(MKINSTALLDIRS) $(dlldir) $(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
$(INSTALL_DATA) $(MODULE) $(dlldir)/$(MODULE) $(INSTALL_DATA) $(MODULE) $(DESTDIR)$(dlldir)/$(MODULE)
uninstall:: uninstall::
[ ! -d $(dlldir) ] || (cd $(dlldir) && $(RM) $(MODULE)) $(RM) $(DESTDIR)$(dlldir)/$(MODULE)
# Misc. rules # Misc. rules
......
...@@ -348,7 +348,7 @@ install-lib:: \$(INSTALLSUBDIRS:%=%/__install-lib__) ...@@ -348,7 +348,7 @@ install-lib:: \$(INSTALLSUBDIRS:%=%/__install-lib__)
install-dev:: \$(INSTALLSUBDIRS:%=%/__install-dev__) install-dev:: \$(INSTALLSUBDIRS:%=%/__install-dev__)
uninstall:: uninstall::
-rmdir \$(dlldir) -rmdir \$(DESTDIR)\$(dlldir)
clean:: clean::
\$(RM) \$(IMPORT_SYMLINKS) \$(RM) \$(IMPORT_SYMLINKS)
......
...@@ -83,10 +83,10 @@ EXTRASUBDIRS = data ...@@ -83,10 +83,10 @@ EXTRASUBDIRS = data
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@
install install-lib:: install install-lib::
$(MKINSTALLDIRS) $(datadir)/wine $(MKINSTALLDIRS) $(DESTDIR)$(datadir)/wine
$(INSTALL_DATA) $(SRCDIR)/generic.ppd $(datadir)/wine/generic.ppd $(INSTALL_DATA) $(SRCDIR)/generic.ppd $(DESTDIR)$(datadir)/wine/generic.ppd
uninstall:: uninstall::
$(RM) $(datadir)/wine/generic.ppd $(RM) $(DESTDIR)$(datadir)/wine/generic.ppd
### Dependencies: ### Dependencies:
...@@ -21,8 +21,8 @@ sgmlpages: ...@@ -21,8 +21,8 @@ sgmlpages:
.PHONY: manpages htmlpages sgmlpages .PHONY: manpages htmlpages sgmlpages
install:: manpages install:: manpages
$(MKINSTALLDIRS) $(mandir)/man$(api_manext) $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(api_manext)
for i in man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(mandir)/$$i; done for i in man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
clean:: clean::
$(RM) -r html api-guide man$(api_manext) $(RM) -r html api-guide man$(api_manext)
......
...@@ -289,12 +289,12 @@ cvgasys.fon: system-950-96-16.fnt system-1252-96-16.fnt $(FNT2FON) ...@@ -289,12 +289,12 @@ cvgasys.fon: system-950-96-16.fnt system-1252-96-16.fnt $(FNT2FON)
$(FNT2FON) system-950-96-16.fnt system-1252-96-16.fnt $@ $(FNT2FON) system-950-96-16.fnt system-1252-96-16.fnt $@
install:: $(FONTS) install:: $(FONTS)
$(MKINSTALLDIRS) $(fontdir) $(MKINSTALLDIRS) $(DESTDIR)$(fontdir)
for i in $(FONTS); do $(INSTALL_DATA) $$i $(fontdir)/$$i || exit 1; done for i in $(FONTS); do $(INSTALL_DATA) $$i $(DESTDIR)$(fontdir)/$$i || exit 1; done
uninstall:: uninstall::
-cd $(fontdir) && $(RM) $(FONTS) -cd $(DESTDIR)$(fontdir) && $(RM) $(FONTS)
-rmdir $(fontdir) -rmdir $(DESTDIR)$(fontdir)
clean:: clean::
$(RM) *.fon *.fnt *.ttf $(RM) *.fon *.fnt *.ttf
......
...@@ -350,7 +350,7 @@ WINE_INCLUDES = \ ...@@ -350,7 +350,7 @@ WINE_INCLUDES = \
IDL_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%) IDL_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%)
EXTRASUBDIRS = msvcrt msvcrt/sys wine EXTRASUBDIRS = ddk msvcrt msvcrt/sys wine
@MAKE_RULES@ @MAKE_RULES@
...@@ -361,18 +361,18 @@ IDL_HEADERS = $(IDL_SRCS:.idl=.h) ...@@ -361,18 +361,18 @@ IDL_HEADERS = $(IDL_SRCS:.idl=.h)
all: $(IDL_HEADERS) all: $(IDL_HEADERS)
install:: $(IDL_HEADERS) install:: $(IDL_HEADERS)
$(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/windows/ddk $(includedir)/msvcrt $(includedir)/msvcrt/sys $(MKINSTALLDIRS) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)/msvcrt/sys
for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/windows/$$f; done
for f in $(WINDOWS_IDL_HEADERS); do $(INSTALL_DATA) $$f $(includedir)/windows/$$f; done for f in $(WINDOWS_IDL_HEADERS); do $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f; done
for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/$$f; done
for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(DESTDIR)$(includedir)/$$f; done
for f in $(WINE_IDL_HEADERS); do $(INSTALL_DATA) wine/$$f $(includedir)/$$f; done for f in $(WINE_IDL_HEADERS); do $(INSTALL_DATA) wine/$$f $(DESTDIR)$(includedir)/$$f; done
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
# anything extra the user may have put there. # anything extra the user may have put there.
uninstall:: uninstall::
[ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(WINDOWS_IDL_HEADERS) || true -cd $(DESTDIR)$(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(WINDOWS_IDL_HEADERS)
[ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) $(WINE_IDL_HEADERS) || true -cd $(DESTDIR)$(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) $(WINE_IDL_HEADERS)
-rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows/ddk $(includedir)/windows $(includedir) -rmdir $(DESTDIR)$(includedir)/msvcrt/sys $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)
### Dependencies: ### Dependencies:
...@@ -40,34 +40,34 @@ $(LIBNAME).dylib: $(LIBNAME).$(SOVERSION).dylib ...@@ -40,34 +40,34 @@ $(LIBNAME).dylib: $(LIBNAME).$(SOVERSION).dylib
.PHONY: install-lib-so install-lib-dll install-lib-dylib install-dev-so install-dev-dll install-dev-dylib .PHONY: install-lib-so install-lib-dll install-lib-dylib install-dev-so install-dev-dll install-dev-dylib
install-lib-so: $(LIBNAME).so.$(SOVERSION) dummy install-lib-so: $(LIBNAME).so.$(SOVERSION) dummy
$(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
$(INSTALL_PROGRAM) $(LIBNAME).so.$(SOVERSION) $(libdir)/$(LIBNAME).so.$(SOVERSION) $(INSTALL_PROGRAM) $(LIBNAME).so.$(SOVERSION) $(DESTDIR)$(libdir)/$(LIBNAME).so.$(SOVERSION)
install-lib-dll: $(LIBNAME).dll dummy install-lib-dll: $(LIBNAME).dll dummy
$(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
$(INSTALL_DATA) $(LIBNAME).dll $(libdir)/$(LIBNAME).dll $(INSTALL_DATA) $(LIBNAME).dll $(DESTDIR)$(libdir)/$(LIBNAME).dll
install-lib-dylib: $(LIBNAME).$(SOVERSION).dylib dummy install-lib-dylib: $(LIBNAME).$(SOVERSION).dylib dummy
$(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
$(INSTALL_PROGRAM) $(LIBNAME).$(SOVERSION).dylib $(libdir)/$(LIBNAME).$(SOVERSION).dylib $(INSTALL_PROGRAM) $(LIBNAME).$(SOVERSION).dylib $(DESTDIR)$(libdir)/$(LIBNAME).$(SOVERSION).dylib
install-dev-so: dummy install-dev-so: dummy
$(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
cd $(libdir) && $(RM) $(LIBNAME).so && $(LN_S) $(LIBNAME).so.$(SOVERSION) $(LIBNAME).so cd $(DESTDIR)$(libdir) && $(RM) $(LIBNAME).so && $(LN_S) $(LIBNAME).so.$(SOVERSION) $(LIBNAME).so
install-dev-dll: $(LIBNAME).a dummy install-dev-dll: $(LIBNAME).a dummy
$(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
$(INSTALL_DATA) $(LIBNAME).a $(libdir)/$(LIBNAME).a $(INSTALL_DATA) $(LIBNAME).a $(DESTDIR)$(libdir)/$(LIBNAME).a
install-dev-dylib: dummy install-dev-dylib: dummy
$(MKINSTALLDIRS) $(libdir) $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
cd $(libdir) && $(RM) $(LIBNAME).dylib && $(LN_S) $(LIBNAME).$(SOVERSION).dylib $(LIBNAME).dylib cd $(DESTDIR)$(libdir) && $(RM) $(LIBNAME).dylib && $(LN_S) $(LIBNAME).$(SOVERSION).dylib $(LIBNAME).dylib
install install-lib:: $(LIBEXT:%=install-lib-%) install install-lib:: $(LIBEXT:%=install-lib-%)
install install-dev:: $(LIBEXT:%=install-dev-%) install install-dev:: $(LIBEXT:%=install-dev-%)
uninstall:: uninstall::
$(RM) $(libdir)/$(LIBNAME).a $(libdir)/$(LIBNAME).dll $(libdir)/$(LIBNAME).so $(libdir)/$(LIBNAME).so.$(SOVERSION) $(libdir)/$(LIBNAME).dylib $(libdir)/$(LIBNAME).$(SOVERSION).dylib -cd $(DESTDIR)$(libdir) && $(RM) $(LIBNAME).a $(LIBNAME).dll $(LIBNAME).so $(LIBNAME).so.$(SOVERSION) $(LIBNAME).dylib $(LIBNAME).$(SOVERSION).dylib
clean:: clean::
$(RM) $(LIBNAME).so.$(SOVERSION) $(LIBNAME).dll $(LIBNAME).$(SOVERSION).dylib $(RM) $(LIBNAME).so.$(SOVERSION) $(LIBNAME).dll $(LIBNAME).$(SOVERSION).dylib
...@@ -42,18 +42,18 @@ $(MODULE): $(MAIN_BINARY) ...@@ -42,18 +42,18 @@ $(MODULE): $(MAIN_BINARY)
$(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE) $(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE)
install:: $(WINE_BINARIES) $(MANPAGES) install:: $(WINE_BINARIES) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
for f in $(WINE_BINARIES); do \ for f in $(WINE_BINARIES); do \
if [ "$(MAIN_BINARY)" = "$$f" ]; \ if [ "$(MAIN_BINARY)" = "$$f" ]; \
then $(INSTALL_PROGRAM) $$f $(bindir)/$(MODULE); \ then $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$(MODULE); \
else $(INSTALL_PROGRAM) $$f $(bindir)/$$f; \ else $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; \
fi; \ fi; \
done done
$(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext) $(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
uninstall:: uninstall::
-cd $(bindir) && $(RM) $(WINE_BINARIES) $(MODULE) -cd $(DESTDIR)$(bindir) && $(RM) $(WINE_BINARIES) $(MODULE)
$(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
clean:: clean::
$(RM) $(WINE_BINARIES) $(MODULE) $(RM) $(WINE_BINARIES) $(MODULE)
......
...@@ -145,24 +145,24 @@ winelauncher: winelauncher.in ...@@ -145,24 +145,24 @@ winelauncher: winelauncher.in
.PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__) .PHONY: install-apploader install-progs install-progs.so $(INSTALLPROGS:%=%/__installprog__)
install-apploader: wineapploader dummy install-apploader: wineapploader dummy
$(MKINSTALLDIRS) $(bindir) $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) wineapploader $(bindir)/wineapploader $(INSTALL_SCRIPT) wineapploader $(DESTDIR)$(bindir)/wineapploader
$(INSTALLPROGS:%=%/__installprog__): install-apploader $(INSTALLPROGS:%=%/__installprog__): install-apploader
$(RM) $(bindir)/`dirname $@` && $(LN) $(bindir)/wineapploader $(bindir)/`dirname $@` $(RM) $(DESTDIR)$(bindir)/`dirname $@` && $(LN) $(DESTDIR)$(bindir)/wineapploader $(DESTDIR)$(bindir)/`dirname $@`
install-progs.so: $(INSTALLPROGS:%=%/__installprog__) install-progs.so: $(INSTALLPROGS:%=%/__installprog__)
$(RM) $(bindir)/wineapploader $(RM) $(DESTDIR)$(bindir)/wineapploader
install-progs: # nothing to do here install-progs: # nothing to do here
install:: winelauncher install-progs$(DLLEXT) install:: winelauncher install-progs$(DLLEXT)
$(MKINSTALLDIRS) $(bindir) $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) winelauncher $(bindir)/winelauncher $(INSTALL_SCRIPT) winelauncher $(DESTDIR)$(bindir)/winelauncher
uninstall:: uninstall::
-cd $(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS) -cd $(DESTDIR)$(bindir) && $(RM) wineapploader winelauncher $(INSTALLPROGS)
-rmdir $(dlldir) -rmdir $(DESTDIR)$(dlldir)
clean:: clean::
$(RM) wineapploader winelauncher $(SYMLINKS) $(RM) wineapploader winelauncher $(SYMLINKS)
......
...@@ -46,18 +46,18 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT) ...@@ -46,18 +46,18 @@ $(TESTRESULTS): $(MODULE)$(DLLEXT)
.PHONY: install_prog install_prog.so uninstall_prog uninstall_prog.so .PHONY: install_prog install_prog.so uninstall_prog uninstall_prog.so
install_prog.so: $(MODULE).so dummy install_prog.so: $(MODULE).so dummy
$(MKINSTALLDIRS) $(dlldir) $(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
$(INSTALL_PROGRAM) $(MODULE).so $(dlldir)/$(MODULE).so $(INSTALL_PROGRAM) $(MODULE).so $(DESTDIR)$(dlldir)/$(MODULE).so
install_prog: $(MODULE) dummy install_prog: $(MODULE) dummy
$(MKINSTALLDIRS) $(bindir) $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $(MODULE) $(bindir)/$(MODULE) $(INSTALL_PROGRAM) $(MODULE) $(DESTDIR)$(bindir)/$(MODULE)
uninstall_prog.so: dummy uninstall_prog.so: dummy
$(RM) $(dlldir)/$(MODULE).so $(RM) $(DESTDIR)$(dlldir)/$(MODULE).so
uninstall_prog: dummy uninstall_prog: dummy
$(RM) $(bindir)/$(MODULE) $(RM) $(DESTDIR)$(bindir)/$(MODULE)
install:: install_prog$(DLLEXT) install:: install_prog$(DLLEXT)
......
...@@ -44,22 +44,22 @@ $(PROGRAMS:.exe=): $(WINEWRAPPER) ...@@ -44,22 +44,22 @@ $(PROGRAMS:.exe=): $(WINEWRAPPER)
.PHONY: install_prog install_prog.so uninstall_prog uninstall_prog.so .PHONY: install_prog install_prog.so uninstall_prog uninstall_prog.so
install_prog.so: $(PROGRAMS:%=%.so) install_prog.so: $(PROGRAMS:%=%.so)
$(MKINSTALLDIRS) $(dlldir) $(MKINSTALLDIRS) $(DESTDIR)$(dlldir)
$(INSTALL_PROGRAM) aviinfo.exe.so $(dlldir)/aviinfo.exe.so $(INSTALL_PROGRAM) aviinfo.exe.so $(DESTDIR)$(dlldir)/aviinfo.exe.so
$(INSTALL_PROGRAM) aviplay.exe.so $(dlldir)/aviplay.exe.so $(INSTALL_PROGRAM) aviplay.exe.so $(DESTDIR)$(dlldir)/aviplay.exe.so
$(INSTALL_PROGRAM) icinfo.exe.so $(dlldir)/icinfo.exe.so $(INSTALL_PROGRAM) icinfo.exe.so $(DESTDIR)$(dlldir)/icinfo.exe.so
install_prog: $(PROGRAMS) install_prog: $(PROGRAMS)
$(MKINSTALLDIRS) $(bindir) $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) aviinfo.exe $(bindir)/aviinfo.exe $(INSTALL_PROGRAM) aviinfo.exe $(DESTDIR)$(bindir)/aviinfo.exe
$(INSTALL_PROGRAM) aviplay.exe $(bindir)/aviplay.exe $(INSTALL_PROGRAM) aviplay.exe $(DESTDIR)$(bindir)/aviplay.exe
$(INSTALL_PROGRAM) icinfo.exe $(bindir)/icinfo.exe $(INSTALL_PROGRAM) icinfo.exe $(DESTDIR)$(bindir)/icinfo.exe
uninstall_prog.so: uninstall_prog.so:
$(RM) $(dlldir)/aviinfo.exe.so $(dlldir)/aviplay.exe.so $(dlldir)/icinfo.exe.so $(RM) $(DESTDIR)$(dlldir)/aviinfo.exe.so $(DESTDIR)$(dlldir)/aviplay.exe.so $(DESTDIR)$(dlldir)/icinfo.exe.so
uninstall_prog: uninstall_prog:
$(RM) $(bindir)/aviinfo.exe $(bindir)/aviplay.exe $(bindir)/icinfo.exe $(RM) $(DESTDIR)$(bindir)/aviinfo.exe $(DESTDIR)$(bindir)/aviplay.exe $(DESTDIR)$(bindir)/icinfo.exe
install:: install_prog$(DLLEXT) install:: install_prog$(DLLEXT)
......
...@@ -160,24 +160,24 @@ winelauncher: winelauncher.in ...@@ -160,24 +160,24 @@ winelauncher: winelauncher.in
.PHONY: install-apploader install-progs install-progs.so \$(INSTALLPROGS:%=%/__installprog__) .PHONY: install-apploader install-progs install-progs.so \$(INSTALLPROGS:%=%/__installprog__)
install-apploader: wineapploader dummy install-apploader: wineapploader dummy
\$(MKINSTALLDIRS) \$(bindir) \$(MKINSTALLDIRS) \$(DESTDIR)\$(bindir)
\$(INSTALL_SCRIPT) wineapploader \$(bindir)/wineapploader \$(INSTALL_SCRIPT) wineapploader \$(DESTDIR)\$(bindir)/wineapploader
\$(INSTALLPROGS:%=%/__installprog__): install-apploader \$(INSTALLPROGS:%=%/__installprog__): install-apploader
\$(RM) \$(bindir)/`dirname \$\@` && \$(LN) \$(bindir)/wineapploader \$(bindir)/`dirname \$\@` \$(RM) \$(DESTDIR)\$(bindir)/`dirname \$\@` && \$(LN) \$(DESTDIR)\$(bindir)/wineapploader \$(DESTDIR)\$(bindir)/`dirname \$\@`
install-progs.so: \$(INSTALLPROGS:%=%/__installprog__) install-progs.so: \$(INSTALLPROGS:%=%/__installprog__)
\$(RM) \$(bindir)/wineapploader \$(RM) \$(DESTDIR)\$(bindir)/wineapploader
install-progs: # nothing to do here install-progs: # nothing to do here
install:: winelauncher install-progs\$(DLLEXT) install:: winelauncher install-progs\$(DLLEXT)
\$(MKINSTALLDIRS) \$(bindir) \$(MKINSTALLDIRS) \$(DESTDIR)\$(bindir)
\$(INSTALL_SCRIPT) winelauncher \$(bindir)/winelauncher \$(INSTALL_SCRIPT) winelauncher \$(DESTDIR)\$(bindir)/winelauncher
uninstall:: uninstall::
-cd \$(bindir) && \$(RM) wineapploader winelauncher \$(INSTALLPROGS) -cd \$(DESTDIR)\$(bindir) && \$(RM) wineapploader winelauncher \$(INSTALLPROGS)
-rmdir \$(dlldir) -rmdir \$(DESTDIR)\$(dlldir)
clean:: clean::
\$(RM) wineapploader winelauncher \$(SYMLINKS) \$(RM) wineapploader winelauncher \$(SYMLINKS)
......
...@@ -48,10 +48,10 @@ dbg.tab.o: dbg.tab.h ...@@ -48,10 +48,10 @@ dbg.tab.o: dbg.tab.h
@LEX_OUTPUT_ROOT@.o: dbg.tab.h @LEX_OUTPUT_ROOT@.o: dbg.tab.h
install:: $(MANPAGES) install:: $(MANPAGES)
$(MKINSTALLDIRS) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) winedbg.man $(mandir)/man$(prog_manext)/winedbg.$(prog_manext) $(INSTALL_DATA) winedbg.man $(DESTDIR)$(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
uninstall:: uninstall::
$(RM) $(mandir)/man$(prog_manext)/winedbg.$(prog_manext) $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -13,10 +13,10 @@ C_SRCS = \ ...@@ -13,10 +13,10 @@ C_SRCS = \
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
install:: install::
$(MKINSTALLDIRS) $(bindir) $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) $(TOPSRCDIR)/tools/wineshelllink $(bindir)/wineshelllink $(INSTALL_SCRIPT) $(TOPSRCDIR)/tools/wineshelllink $(DESTDIR)$(bindir)/wineshelllink
uninstall:: uninstall::
$(RM) $(bindir)/wineshelllink $(RM) $(DESTDIR)$(bindir)/wineshelllink
### Dependencies: ### Dependencies:
...@@ -61,11 +61,11 @@ wineserver: $(OBJS) ...@@ -61,11 +61,11 @@ wineserver: $(OBJS)
$(CC) -o $(PROGRAMS) $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(CC) -o $(PROGRAMS) $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LDFLAGS) $(LIBS)
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_PROGRAM) wineserver $(bindir)/wineserver $(INSTALL_PROGRAM) wineserver $(DESTDIR)$(bindir)/wineserver
$(INSTALL_DATA) wineserver.man $(mandir)/man$(prog_manext)/wineserver.$(prog_manext) $(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
uninstall:: uninstall::
$(RM) $(bindir)/wineserver $(mandir)/man$(prog_manext)/wineserver.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -69,20 +69,19 @@ wineprefixcreate: wineprefixcreate.in ...@@ -69,20 +69,19 @@ wineprefixcreate: wineprefixcreate.in
chmod +x wineprefixcreate chmod +x wineprefixcreate
install install-lib:: wineprefixcreate install install-lib:: wineprefixcreate
$(MKINSTALLDIRS) $(bindir) $(datadir)/wine $(datadir)/applications $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/applications
$(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
$(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf $(INSTALL_DATA) $(SRCDIR)/wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
$(INSTALL_DATA) $(SRCDIR)/wine.desktop $(datadir)/applications/wine.desktop $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
-$(UPDATE_DESKTOP_DATABASE) -$(UPDATE_DESKTOP_DATABASE)
install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(MANPAGES) install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker
$(INSTALL_DATA) winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
uninstall:: uninstall::
$(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \ $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
$(datadir)/wine/wine.inf $(datadir)/applications/wine.desktop
-$(UPDATE_DESKTOP_DATABASE) -$(UPDATE_DESKTOP_DATABASE)
### Dependencies: ### Dependencies:
...@@ -43,11 +43,11 @@ parser.tab.o: parser.tab.h ...@@ -43,11 +43,11 @@ parser.tab.o: parser.tab.h
@LEX_OUTPUT_ROOT@.o: parser.tab.h @LEX_OUTPUT_ROOT@.o: parser.tab.h
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_PROGRAM) widl$(EXEEXT) $(bindir)/widl$(EXEEXT) $(INSTALL_PROGRAM) widl$(EXEEXT) $(DESTDIR)$(bindir)/widl$(EXEEXT)
$(INSTALL_DATA) widl.man $(mandir)/man$(prog_manext)/widl.$(prog_manext) $(INSTALL_DATA) widl.man $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
uninstall:: uninstall::
$(RM) $(bindir)/widl$(EXEEXT) $(mandir)/man$(prog_manext)/widl.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/widl$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/widl.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -7,19 +7,15 @@ MODULE = none ...@@ -7,19 +7,15 @@ MODULE = none
@MAKE_RULES@ @MAKE_RULES@
install:: install::
$(MKINSTALLDIRS) $(bindir) $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/make_filter $(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(DESTDIR)$(bindir)/make_filter
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_check $(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(DESTDIR)$(bindir)/winapi_check
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_cleanup $(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(DESTDIR)$(bindir)/winapi_cleanup
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_extract $(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(DESTDIR)$(bindir)/winapi_extract
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_fixup $(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(DESTDIR)$(bindir)/winapi_fixup
$(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(bindir)/winapi_test $(INSTALL_SCRIPT) $(SRCDIR)/trampoline $(DESTDIR)$(bindir)/winapi_test
uninstall:: uninstall::
$(RM) $(bindir)/make_filter -cd $(DESTDIR)$(bindir) && $(RM) make_filter winapi_check winapi_extract winapi_fixup winapi_test
$(RM) $(bindir)/winapi_check
$(RM) $(bindir)/winapi_extract
$(RM) $(bindir)/winapi_fixup
$(RM) $(bindir)/winapi_test
### Dependencies: ### Dependencies:
...@@ -27,11 +27,11 @@ winebuild$(EXEEXT): $(OBJS) ...@@ -27,11 +27,11 @@ winebuild$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(bindir)/winebuild$(EXEEXT) $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(DESTDIR)$(bindir)/winebuild$(EXEEXT)
$(INSTALL_DATA) winebuild.man $(mandir)/man$(prog_manext)/winebuild.$(prog_manext) $(INSTALL_DATA) winebuild.man $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
uninstall:: uninstall::
$(RM) $(bindir)/winebuild$(EXEEXT) $(mandir)/man$(prog_manext)/winebuild.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/winebuild$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -32,13 +32,12 @@ winedump$(EXEEXT): $(OBJS) ...@@ -32,13 +32,12 @@ winedump$(EXEEXT): $(OBJS)
$(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS) $(CC) $(CFLAGS) -o winedump$(EXEEXT) $(OBJS) $(LIBPORT) $(LDFLAGS)
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_PROGRAM) winedump$(EXEEXT) $(bindir)/winedump$(EXEEXT) $(INSTALL_PROGRAM) winedump$(EXEEXT) $(DESTDIR)$(bindir)/winedump$(EXEEXT)
$(INSTALL_DATA) winedump.man $(mandir)/man$(prog_manext)/winedump.$(prog_manext) $(INSTALL_DATA) winedump.man $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
$(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(bindir)/function_grep.pl $(INSTALL_SCRIPT) $(SRCDIR)/function_grep.pl $(DESTDIR)$(bindir)/function_grep.pl
uninstall:: uninstall::
$(RM) $(bindir)/function_grep.pl $(bindir)/winedump$(EXEEXT) $(RM) $(DESTDIR)$(bindir)/function_grep.pl $(DESTDIR)$(bindir)/winedump$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/winedump.$(prog_manext)
$(RM) $(mandir)/man$(prog_manext)/winedump.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -40,15 +40,15 @@ winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT) ...@@ -40,15 +40,15 @@ winecpp$(EXEEXT) wineg++$(EXEEXT): winegcc$(EXEEXT)
$(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@ $(RM) $@ && $(LN_S) winegcc$(EXEEXT) $@
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_PROGRAM) winegcc$(EXEEXT) $(bindir)/winegcc$(EXEEXT) $(INSTALL_PROGRAM) winegcc$(EXEEXT) $(DESTDIR)$(bindir)/winegcc$(EXEEXT)
cd $(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT) cd $(DESTDIR)$(bindir) && $(RM) wineg++$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) wineg++$(EXEEXT)
cd $(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT) cd $(DESTDIR)$(bindir) && $(RM) winecpp$(EXEEXT) && $(LN_S) winegcc$(EXEEXT) winecpp$(EXEEXT)
$(INSTALL_DATA) winegcc.man $(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(INSTALL_DATA) winegcc.man $(DESTDIR)$(mandir)/man$(prog_manext)/winegcc.$(prog_manext)
cd $(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext) cd $(DESTDIR)$(mandir)/man$(prog_manext) && $(RM) wineg++.$(prog_manext) && $(LN_S) winegcc.$(prog_manext) wineg++.$(prog_manext)
uninstall:: uninstall::
$(RM) $(bindir)/winegcc$(EXEEXT) $(bindir)/wineg++$(EXEEXT) $(bindir)/winecpp$(EXEEXT) \ $(RM) $(DESTDIR)$(bindir)/winegcc$(EXEEXT) $(DESTDIR)$(bindir)/wineg++$(EXEEXT) $(DESTDIR)$(bindir)/winecpp$(EXEEXT) \
$(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(mandir)/man$(prog_manext)/wineg++.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/winegcc.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineg++.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -35,11 +35,11 @@ mcy.tab.h: mcy.tab.c ...@@ -35,11 +35,11 @@ mcy.tab.h: mcy.tab.c
mcy.tab.o: mcy.tab.h mcy.tab.o: mcy.tab.h
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) wmc.man $(mandir)/man$(prog_manext)/wmc.$(prog_manext) $(INSTALL_DATA) wmc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
$(INSTALL_PROGRAM) wmc$(EXEEXT) $(bindir)/wmc$(EXEEXT) $(INSTALL_PROGRAM) wmc$(EXEEXT) $(DESTDIR)$(bindir)/wmc$(EXEEXT)
uninstall:: uninstall::
$(RM) $(bindir)/wmc$(EXEEXT) $(mandir)/man$(prog_manext)/wmc.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/wmc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wmc.$(prog_manext)
### Dependencies: ### Dependencies:
...@@ -42,11 +42,11 @@ parser.tab.o: parser.tab.h ...@@ -42,11 +42,11 @@ parser.tab.o: parser.tab.h
@LEX_OUTPUT_ROOT@.o: parser.tab.h @LEX_OUTPUT_ROOT@.o: parser.tab.h
install:: $(PROGRAMS) $(MANPAGES) install:: $(PROGRAMS) $(MANPAGES)
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
$(INSTALL_DATA) wrc.man $(mandir)/man$(prog_manext)/wrc.$(prog_manext) $(INSTALL_DATA) wrc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
$(INSTALL_PROGRAM) wrc$(EXEEXT) $(bindir)/wrc$(EXEEXT) $(INSTALL_PROGRAM) wrc$(EXEEXT) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
uninstall:: uninstall::
$(RM) $(bindir)/wrc$(EXEEXT) $(mandir)/man$(prog_manext)/wrc.$(prog_manext) $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
### Dependencies: ### Dependencies:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment