From 3dbc56b6acfb9a70e91615d895e7a0fa811fe4fc Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 11 Nov 2015 16:32:41 +0100 Subject: debian/rules: Use instead of `pwd`. --- README.md | 9 --------- debian/rules | 12 ++++++------ 2 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index a95e298..0000000 --- a/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Ayatana Application Indicators (Shared Library) # - -A library to allow applications to export a menu into the an Application -Indicators aware menu bar. Based on KSNI it also works in KDE and will -fallback to generic Systray support if none of those are available. - -This code project was originally started by Canonical Ltd. and has been -adapted by various authors with the purpose of making this Application -Indicators available on Ubuntu and non-Ubuntu systems alike. diff --git a/debian/rules b/debian/rules index 057d717..426bc0d 100755 --- a/debian/rules +++ b/debian/rules @@ -75,23 +75,23 @@ override_dh_install: override_dh_auto_test: $(FLAVORS:%=dotest-%) dotest-%: - mkdir -p `pwd`/debian/tmphome - HOME=`pwd`/debian/tmphome dh_auto_test dh_auto_test --builddirectory=build/$* -- || true + mkdir -p $(CURDIR)/debian/tmphome + HOME=$(CURDIR)/debian/tmphome dh_auto_test dh_auto_test --builddirectory=build/$* -- || true # View test's log file for better debugging of problems when built in clean chroots. if [ -e build/$*/tests/test-suite.log ]; then cat build/$*/tests/test-suite.log; fi - rm -Rf `pwd`/debian/tmphome + rm -Rf $(CURDIR)/debian/tmphome dotest-gtk2: $(PY_VERSIONS:%=dotestgtk2-%) # GTK2 flavor test was run on a per-python-version basis. dotestgtk2-%: - mkdir -p `pwd`/debian/tmphome + mkdir -p $(CURDIR)/debian/tmphome PYTHON=`which $*` \ - HOME=`pwd`/debian/tmphome dh_auto_test --builddirectory=build/gtk2 -- || true + HOME=$(CURDIR)/debian/tmphome dh_auto_test --builddirectory=build/gtk2 -- || true # View test's log file for better debugging of problems when built in clean chroots. if [ -e build/gtk2/tests/test-suite.log ]; then cat build/gtk2/tests/test-suite.log; fi - rm -Rf `pwd`/debian/tmphome + rm -Rf $(CURDIR)/debian/tmphome override_dh_auto_clean: dh_auto_clean -- cgit v1.2.3