Commit d023573a authored by Tobias Frost's avatar Tobias Frost

Refactor d/rules to use short debhelper format.

parent 66a526bb
......@@ -6,6 +6,10 @@ bwbar (1.2.3-3) UNRELEASED; urgency=medium
- add the changes as patches
- add d/patches/series
- refresh patches
* Move init.d and defaults file from d/otherfiles
to d/bwbar.init and d/bwbar.default respectively.
* Bump compat level to 10.
* Refactor d/rules to use short debhelper format.
-- Tobias Frost <tobi@debian.org> Wed, 26 Jul 2017 19:30:20 +0200
......
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
DEB_MAKE_INSTALL_TARGET =
%:
dh $@
cleanbuilddir::
rm -f config.log config.status
common-install-arch common-install-indep:: common-install-impl
common-install-impl::
cp $(CURDIR)/bwbar $(CURDIR)/debian/bwbar/usr/sbin/
cp $(CURDIR)/debian/otherfiles/bwbar $(CURDIR)/debian/bwbar/etc/init.d/
cp $(CURDIR)/debian/otherfiles/bwbar-default $(CURDIR)/debian/bwbar/etc/default/bwbar
chmod 755 $(CURDIR)/debian/bwbar/etc/init.d/bwbar
#include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/class/autotools.mk
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
#
#DEB_MAKE_INSTALL_TARGET =
#
#cleanbuilddir::
# rm -f config.log config.status
#
#common-install-arch common-install-indep:: common-install-impl
#common-install-impl::
# cp $(CURDIR)/bwbar $(CURDIR)/debian/bwbar/usr/sbin/
# cp $(CURDIR)/debian/otherfiles/bwbar $(CURDIR)/debian/bwbar/etc/init.d/
# cp $(CURDIR)/debian/otherfiles/bwbar-default $(CURDIR)/debian/bwbar/etc/default/bwbar
# chmod 755 $(CURDIR)/debian/bwbar/etc/init.d/bwbar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment