[game-data-packager] 01/01: man pages: install man pages in Makefile
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Wed Dec 30 05:46:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit f440cf82cb5bee367f61459ac7ade4a4c03c05f8
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Wed Dec 30 06:46:07 2015 +0100
man pages: install man pages in Makefile
---
Makefile | 6 ++++++
debian/game-data-packager.manpages | 2 --
tools/game-data-packager.spec | 3 ---
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 1a6a016..6207de2 100644
--- a/Makefile
+++ b/Makefile
@@ -134,6 +134,10 @@ install: default
mkdir -p $(DESTDIR)/usr/share/bash-completion/completions
install -m0644 data/bash-completion/game-data-packager $(DESTDIR)/usr/share/bash-completion/completions/
+ mkdir -p $(DESTDIR)/usr/share/man/man6/
+ mkdir -p $(DESTDIR)/usr/share/man/fr/man6/
+ install -m0644 doc/game-data-packager.6 $(DESTDIR)/usr/share/man/man6/
+
mkdir -p $(DESTDIR)/etc/game-data-packager
install -m0644 etc/game-data-packager.conf $(DESTDIR)/etc/
install -m0644 etc/*-mirrors $(DESTDIR)/etc/game-data-packager/
@@ -141,6 +145,8 @@ install: default
mkdir -p $(DESTDIR)/usr/share/applications
install -m0755 runtime/doom2-masterlevels.py $(DESTDIR)$(bindir)/doom2-masterlevels
install -m0644 runtime/doom2-masterlevels.desktop $(DESTDIR)/usr/share/applications/
+ install -m0644 doc/doom2-masterlevels.6 $(DESTDIR)/usr/share/man/man6/
+ install -m0644 doc/doom2-masterlevels.fr.6 $(DESTDIR)/usr/share/man/fr/man6/
# Requires additional setup, so not part of "make check"
manual-check:
diff --git a/debian/game-data-packager.manpages b/debian/game-data-packager.manpages
deleted file mode 100644
index adb4726..0000000
--- a/debian/game-data-packager.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-doc/game-data-packager*.6
-doc/doom2-masterlevels.6
diff --git a/tools/game-data-packager.spec b/tools/game-data-packager.spec
index 138292e..8161ab0 100644
--- a/tools/game-data-packager.spec
+++ b/tools/game-data-packager.spec
@@ -66,9 +66,6 @@ rm $RPM_BUILD_ROOT/usr/share/games/game-data-packager/game_data_packager/util_ar
rm $RPM_BUILD_ROOT/usr/share/games/game-data-packager/game_data_packager/util_deb.py
rm $RPM_BUILD_ROOT/usr/share/games/game-data-packager/game_data_packager/util_suse.py
find $RPM_BUILD_ROOT/usr/share/games/game-data-packager/game_data_packager -name '*.py' -exec chmod 755 {} \;
-mkdir -p $RPM_BUILD_ROOT/usr/share/man/man6
-install -m0644 doc/game-data-packager.6 $RPM_BUILD_ROOT/usr/share/man/man6
-install -m0644 doc/doom2-masterlevels.6 $RPM_BUILD_ROOT/usr/share/man/man6
%files
%doc doc/adding_a_game.mdwn
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list