Add DESTDIR functionality to Makefile.in's.

This commit is contained in:
Christopher Faylor
2009-02-24 02:11:14 +00:00
parent be6f5dfdc7
commit 99fe2b7866
11 changed files with 49 additions and 29 deletions

View File

@ -1,3 +1,7 @@
2009-02-23 Sjors Gielen <mailinglist@dazjorz.com>
* Makefile.in: Add DESTDIR functionality.
2009-01-21 Corinna Vinschen <corinna@vinschen.de>
* client.cc (allow_server): Remove variable.

View File

@ -51,14 +51,14 @@ CYGWIN_LIB:=$(cygwin_build)/libcygwin.a
all: cygserver.exe
install: all $(updir1)/mkinstalldirs cygserver.conf cygserver-config README
$(updir1)/mkinstalldirs $(sbindir)
$(updir1)/mkinstalldirs $(bindir)
$(updir1)/mkinstalldirs $(sysconfdir)/defaults/etc
$(updir1)/mkinstalldirs $(prefix)/share/doc/Cygwin
$(INSTALL_PROGRAM) cygserver.exe $(sbindir)/cygserver.exe
$(INSTALL_PROGRAM) $(srcdir)/cygserver-config $(bindir)/cygserver-config
$(INSTALL_DATA) $(srcdir)/cygserver.conf $(sysconfdir)/defaults/etc/cygserver.conf
$(INSTALL_DATA) $(srcdir)/README $(prefix)/share/doc/Cygwin/cygserver.README
$(updir1)/mkinstalldirs $(DESTDIR)$(sbindir)
$(updir1)/mkinstalldirs $(DESTDIR)$(bindir)
$(updir1)/mkinstalldirs $(DESTDIR)$(sysconfdir)/defaults/etc
$(updir1)/mkinstalldirs $(DESTDIR)$(prefix)/share/doc/Cygwin
$(INSTALL_PROGRAM) cygserver.exe $(DESTDIR)$(sbindir)/cygserver.exe
$(INSTALL_PROGRAM) $(srcdir)/cygserver-config $(DESTDIR)$(bindir)/cygserver-config
$(INSTALL_DATA) $(srcdir)/cygserver.conf $(DESTDIR)$(sysconfdir)/defaults/etc/cygserver.conf
$(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(prefix)/share/doc/Cygwin/cygserver.README
clean:
rm -f $(OBJS) ${patsubst %.o,%.d,$(OBJS)} cygserver.exe