diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-07-26 10:52:45 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-07-26 10:52:45 +0000 |
commit | f179ef136d4517d0b95fc044816c200e9a27e0e1 (patch) | |
tree | cc64483f9a2370b7c77a2f887f7d2c1fa22cea47 /Makefile.in | |
parent | e56a7949db331f7c6703bae4c38b1445747a5918 (diff) | |
download | quilt-f179ef136d4517d0b95fc044816c200e9a27e0e1.tar.gz |
- Install package documentation into $RPM_DOC_DIR if this
environment variable is set. On RedHat 9 $RPM_DOC_DIR points to
/usr/share/doc/packages, but documentation lives in
/usr/share/doc. This is a bug in RedHat's RPM configuration;
working around it would break other distributions.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index c9ac0e4..dfd1dc1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -8,8 +8,8 @@ exec_prefix := @exec_prefix@ bindir := @bindir@ libdir := @libdir@ datadir := @datadir@ +docdir := @docdir@ mandir := $(datadir)/man -docdir := $(datadir)/doc localedir := $(datadir)/locale etcdir := $(subst /usr/etc,/etc,$(prefix)/etc) @@ -213,8 +213,9 @@ install : scripts @INSTALL@ -d $(BUILD_ROOT)$(LIB_DIR) @INSTALL@ -m 755 -s $(LIB:%=lib/%) $(BUILD_ROOT)$(LIB_DIR)/ - @INSTALL@ -d $(BUILD_ROOT)$(docdir)/$(PACKAGE) - @INSTALL@ -m 644 doc/README $(BUILD_ROOT)$(docdir)/$(PACKAGE)/ + @INSTALL@ -d $(BUILD_ROOT)$(docdir)/$(PACKAGE)-$(VERSION)/ + @INSTALL@ -m 644 doc/README \ + $(BUILD_ROOT)$(docdir)/$(PACKAGE)/-$(VERSION)/ @INSTALL@ -d $(BUILD_ROOT)$(mandir)/man1 @INSTALL@ -m 644 $(MAN1) $(BUILD_ROOT)$(mandir)/man1/ |