SHA256
1
0
forked from pool/audacity
audacity/audacity-2.0.2-docdir.patch

26 lines
949 B
Diff
Raw Normal View History

Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -10,6 +10,7 @@ MANDIR= @mandir@
AUDACITY_NAME = @AUDACITY_NAME@
EXTRAINSTALLTARGETS= @EXTRAINSTALLTARGETS@
EXTRAUNINSTALLTARGETS= @EXTRAUNINSTALLTARGETS@
+DOCDIR= @docdir@
.PHONY: all
all: audacity help/audacity.1.gz
@@ -31,9 +32,9 @@ install: audacity $(EXTRAINSTALLTARGETS)
$(INSTALL) -m 755 audacity $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
# install docs
- $(INSTALL) -d $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
- $(INSTALL) -m 644 README.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/README.txt
- $(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/LICENSE.txt
+ $(INSTALL) -d $(DESTDIR)$(DOCDIR)/
+ $(INSTALL) -m 644 README.txt $(DESTDIR)$(DOCDIR)/README.txt
+ $(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DOCDIR)/LICENSE.txt
# install manpage
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1