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 d4035e895e00f5d9fb995fa2efd0667ceb235eb4
Author: Nicholas Bamber <nicho...@periapt.co.uk>
Date:   Tue Dec 8 17:42:35 2015 +0000

    configs
---
 debian/build.makefile | 17 +++++++++++++----
 debian/changelog      |  1 -
 debian/control        |  1 -
 debian/profile        |  2 ++
 4 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/debian/build.makefile b/debian/build.makefile
index 80e4cb5..8a5fe52 100644
--- a/debian/build.makefile
+++ b/debian/build.makefile
@@ -1,11 +1,14 @@
 
-FILES= usr/bin/xdg_menu                        \
-       usr/bin/xdg_menu_su                     \
-       usr/bin/xdg_menu_update                 
+VENDOR=$(shell dpkg-vendor --query Vendor)
+FILES= usr/bin/xdg_menu                                \
+       usr/bin/xdg_menu_su                             \
+       usr/bin/xdg_menu_update                         \
+       etc/profile.d/xdg-menu-convert                  \
+       etc/xdg/menus/$(VENDOR)-applications.menu
 
 build: $(foreach f,$(FILES),builddir/$(f))
 
-builddir/usr/bin:
+builddir/usr/bin builddir/etc/profile.d builddir/etc/xdg/menus:
        mkdir -p $@
 
 builddir/usr/bin/xdg_menu_su: xdg_menu_su builddir/usr/bin
@@ -15,8 +18,14 @@ builddir/usr/bin/xdg_menu_update: update-menus 
builddir/usr/bin
        cp $< $@
 
 builddir/usr/bin/xdg_menu: xdg_menu builddir/usr/bin
+       sed -e's!arch-!$(VENDOR)-!g' $< > $@
+
+builddir/etc/profile.d/xdg-menu-convert: debian/profile builddir/etc/profile.d
        cp $< $@
 
+builddir/etc/xdg/menus/$(VENDOR)-applications.menu: 
arch-xdg-menu/arch-applications.menu builddir/etc/xdg/menus
+       sed -e's!Arch!$(VENDOR)!g' $< > $@
+
 test: build
        for i in xdg_menu xdg_menu_update; do perl -c builddir/usr/bin/$${i}; 
done
 
diff --git a/debian/changelog b/debian/changelog
index 819728b..c4669df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,7 +5,6 @@ xdg-menu-convert (0.7.6.2-1) UNRELEASED; urgency=medium
    - 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)
diff --git a/debian/control b/debian/control
index 02b98ef..3c4769d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,6 @@ Source: xdg-menu-convert
 Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
 Uploaders: Nicholas Bamber <nicho...@periapt.co.uk>
 Section: admin
-Testsuite: autopkgtest-pkg-perl
 Priority: optional
 Build-Depends: debhelper (>= 9),
                libmodule-build-perl,
diff --git a/debian/profile b/debian/profile
new file mode 100644
index 0000000..0c27198
--- /dev/null
+++ b/debian/profile
@@ -0,0 +1,2 @@
+XDG_DATA_DIRS=/usr/share
+XDG_CONFIG_DIRS=/etc/xdg

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/xdg-menu-convert.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to