[xdg-menu-convert] 01/02: new style
Nicholas Bamber
periapt at moszumanska.debian.org
Tue Dec 8 22:37:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
periapt pushed a commit to branch master
in repository xdg-menu-convert.
commit 6ce48b5740c3ad8017d73be05d4a9e8727caff35
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date: Tue Dec 8 16:36:22 2015 +0000
new style
---
debian/build.makefile | 24 ++++++++++++++++++++++++
debian/changelog | 17 ++++++++---------
debian/install | 3 ---
debian/rules | 12 ++++++++++++
4 files changed, 44 insertions(+), 12 deletions(-)
diff --git a/debian/build.makefile b/debian/build.makefile
new file mode 100644
index 0000000..80e4cb5
--- /dev/null
+++ b/debian/build.makefile
@@ -0,0 +1,24 @@
+
+FILES= usr/bin/xdg_menu \
+ usr/bin/xdg_menu_su \
+ usr/bin/xdg_menu_update
+
+build: $(foreach f,$(FILES),builddir/$(f))
+
+builddir/usr/bin:
+ mkdir -p $@
+
+builddir/usr/bin/xdg_menu_su: xdg_menu_su builddir/usr/bin
+ cp $< $@
+
+builddir/usr/bin/xdg_menu_update: update-menus builddir/usr/bin
+ cp $< $@
+
+builddir/usr/bin/xdg_menu: xdg_menu builddir/usr/bin
+ cp $< $@
+
+test: build
+ for i in xdg_menu xdg_menu_update; do perl -c builddir/usr/bin/$${i}; done
+
+clean:
+ rm -rf builddir
diff --git a/debian/changelog b/debian/changelog
index f974bfc..819728b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,13 @@
xdg-menu-convert (0.7.6.2-1) UNRELEASED; urgency=medium
- TODO:
- - work out how the scripts work and which we need
- - write some man pages
- - try out in all WMs
- - bash completion
- - write a test script? or remove autopkgtest field
- - write a long descrition
- - is there an awesome bug or does awesome need to cooperate?
-
+ * TODO:
+ - work out how the scripts work and which we need
+ - write some man pages
+ - try out in all WMs
+ - bash completion
+ - write a test script? or remove autopkgtest field
+ - write a long descrition
+ - is there an awesome bug or does awesome need to cooperate?
* Initial release. (Closes: #807241)
-- Nicholas Bamber <nicholas at periapt.co.uk> Mon, 07 Dec 2015 16:36:38 +0000
diff --git a/debian/install b/debian/install
deleted file mode 100644
index 1f158ab..0000000
--- a/debian/install
+++ /dev/null
@@ -1,3 +0,0 @@
-update-menus usr/bin
-xdg_menu usr/bin
-xdg_menu_su usr/bin
diff --git a/debian/rules b/debian/rules
index 415e176..c827621 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,17 @@
%:
dh $@
+override_dh_auto_test:
+ make -f debian/build.makefile test
+
+override_dh_auto_clean:
+ make -f debian/build.makefile clean
+
+override_dh_auto_build:
+ make -f debian/build.makefile build
+
+override_dh_install:
+ dh_install builddir/* .
+
get-orig-source:
debian/get-orig-source
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/xdg-menu-convert.git
More information about the Pkg-perl-cvs-commits
mailing list