mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 20:40:13 -04:00
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
$NetBSD: patch-aa,v 1.6 2008/07/20 00:38:44 kristerw Exp $
|
|
|
|
--- GNUmakefile.orig 2008-07-19 18:35:38.000000000 +0200
|
|
+++ GNUmakefile 2008-07-19 18:37:09.000000000 +0200
|
|
@@ -170,14 +170,12 @@
|
|
datadir=$(destdir)/$(datadir) \
|
|
libexecdir=$(destdir)/$(libexecdir)
|
|
|
|
+install: installbin installdocs
|
|
+
|
|
installbin: all
|
|
test -d $(DESTDIR)$(bindir) || $(INSTALL) -d $(DESTDIR)$(bindir)
|
|
$(INSTALL) darcs $(DESTDIR)$(bindir)
|
|
|
|
- test -d $(DESTDIR)$(sysconfdir)/bash_completion.d || \
|
|
- $(INSTALL) -d $(DESTDIR)$(sysconfdir)/bash_completion.d
|
|
- $(INSTALL_DATA) tools/darcs_completion $(DESTDIR)$(sysconfdir)/bash_completion.d/darcs
|
|
-
|
|
test -d $(DESTDIR)$(mandir)/man1 || \
|
|
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
|
|
$(INSTALL_DATA) doc/darcs.1 $(DESTDIR)$(mandir)/man1/
|
|
@@ -191,6 +189,7 @@
|
|
$(INSTALL) -d $(DESTDIR)$(docdir)/examples
|
|
$(INSTALL_DATA) tools/zsh_completion_new $(DESTDIR)$(docdir)/examples/
|
|
$(INSTALL_DATA) tools/zsh_completion_old $(DESTDIR)$(docdir)/examples/
|
|
+ $(INSTALL_DATA) tools/darcs_completion $(DESTDIR)/$(datadir)/doc/darcs/examples/
|
|
|
|
installserver: tools/cgi/darcs.cgi
|
|
test -d $(DESTDIR)$(libexecdir)/cgi-bin || \
|