Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dh_mkdocs instead of symlinking static files manually #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/unburden-home-dir
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use warnings;
use 5.010;

# Globally define version
our $VERSION = '0.4.1.1';
our $VERSION = '0.4.1.2';

# Load Modules
use Config::File;
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
unburden-home-dir (0.4.1.2) UNRELEASED; urgency=medium

* Use dh_mkdocs instead of symlinking static files manually.

-- Dmitry Shachnev <mitya57@debian.org> Sun, 16 Dec 2018 19:47:07 +0300

unburden-home-dir (0.4.1.1) unstable; urgency=medium

[ Jakub Wilk ]
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Build-Depends: debhelper (>= 11~),
libtest-perl-critic-perl <!nocheck>,
lsof <!nocheck>,
# Required for building the documentation
mkdocs <!nodoc>,
mkdocs (>= 1.0.4) <!nodoc>,
moreutils <!nodoc>,
# Required for building the man pages
ronn | ruby-ronn (<< 0.7.3-5.1~) <!nodoc>
Expand Down Expand Up @@ -103,7 +103,7 @@ Description: Remove or move cache files automatically from user's home

Package: unburden-home-dir-doc
Architecture: all
Depends: ${misc:Depends}
Depends: ${misc:Depends}, ${mkdocs:Depends}
Recommends: fonts-font-awesome,
libjs-mustache
Enhances: unburden-home-dir
Expand Down
7 changes: 1 addition & 6 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@ override_dh_installman:
else
override_dh_install:
dh_install --fail-missing
rm -rf debian/unburden-home-dir-doc/usr/share/doc/unburden-home-dir/html/fonts \
debian/unburden-home-dir-doc/usr/share/doc/unburden-home-dir/html/__pycache__ \
debian/unburden-home-dir-doc/usr/share/doc/unburden-home-dir/html/__init__.py \
debian/unburden-home-dir-doc/usr/share/doc/unburden-home-dir/html/search/mustache.min.js
ln -vis /usr/share/fonts-font-awesome/fonts debian/unburden-home-dir-doc/usr/share/doc/unburden-home-dir/html/fonts
ln -vis /usr/share/javascript/mustache/mustache.min.js debian/unburden-home-dir-doc/usr/share/doc/unburden-home-dir/html/search/mustache.min.js
dh_mkdocs
endif
1 change: 1 addition & 0 deletions debian/unburden-home-dir-doc.maintscript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
symlink_to_dir /usr/share/doc/unburden-home-dir/html/fonts /usr/share/fonts-font-awesome/fonts 0.4.1.2~ unburden-home-dir-doc