aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-11 19:45:42 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-11 19:45:42 +0200
commita3f4aa1015f686f01876447dc72c635a9586641b (patch)
tree13d06874228e5c24f4b6d4a3735b3d05a2b18f2e
parentderp + info: overview and invoking (diff)
downloadauto-auto-complete-a3f4aa1015f686f01876447dc72c635a9586641b.tar.gz
auto-auto-complete-a3f4aa1015f686f01876447dc72c635a9586641b.tar.bz2
auto-auto-complete-a3f4aa1015f686f01876447dc72c635a9586641b.tar.xz
install .dvi, .pdf and .ps in the same dir as the example
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index d290346..ee07b5f 100644
--- a/Makefile
+++ b/Makefile
@@ -147,17 +147,17 @@ install-info: bin/auto-auto-complete.info
.PHONY: install-pdf
install-pdf: bin/auto-auto-complete.pdf
install -dm755 -- "$(DESTDIR)$(DOCDIR)"
- install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf"
+ install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/$(PKGNAME).pdf"
.PHONY: install-ps
install-ps: bin/auto-auto-complete.ps
install -dm755 -- "$(DESTDIR)$(DOCDIR)"
- install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps"
+ install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/$(PKGNAME).ps"
.PHONY: install-dvi
install-dvi: bin/auto-auto-complete.dvi
install -dm755 -- "$(DESTDIR)$(DOCDIR)"
- install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi"
+ install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/$(PKGNAME).dvi"
# Install shell auto-completion
@@ -187,12 +187,12 @@ uninstall:
-rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/COPYING"
-rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
-rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
+ -rm -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info"
+ -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/$(PKGNAME).pdf"
+ -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/$(PKGNAME).ps"
+ -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/$(PKGNAME).dvi"
-rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/example"
-rmdir -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)"
- -rm -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info"
- -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf"
- -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps"
- -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi"
-rm -- "$(DESTDIR)$(DATADIR)/fish/completions/$(COMMAND).fish"
-rmdir -- "$(DESTDIR)$(DATADIR)/fish/completions"
-rmdir -- "$(DESTDIR)$(DATADIR)/fish"