-build-stamp:
- pod2man -n YOUTUBE-DL -c "User Commands" debian/youtube-dl.pod > debian/youtube-dl.1
- touch $@
-
-clean:
- dh_testdir
- dh_clean build-stamp debian/youtube-dl.1
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
+override_dh_install:
+ mv debian/youtube-dl/usr/etc debian/youtube-dl/
+# # For the future (similarly for fish):
+# # dpkg-maintscript-helper rm_conffile /etc/youtube-dl.bash-completion \
+# # etc.
+#
+# mv debian/youtube-dl/usr/etc/bash_completion.d/youtube-dl.bash-completion \
+# debian/usr/share/bash-completion/completions/youtube-dl