r25130 - in /trunk/libfile-localizenewlines-perl/debian: examples rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sun Sep 14 14:39:15 UTC 2008
Author: dmn
Date: Sun Sep 14 14:39:12 2008
New Revision: 25130
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25130
Log:
move localizenewlines script from usr/bin to examples
Added:
trunk/libfile-localizenewlines-perl/debian/examples
Modified:
trunk/libfile-localizenewlines-perl/debian/rules
Added: trunk/libfile-localizenewlines-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-localizenewlines-perl/debian/examples?rev=25130&op=file
==============================================================================
--- trunk/libfile-localizenewlines-perl/debian/examples (added)
+++ trunk/libfile-localizenewlines-perl/debian/examples Sun Sep 14 14:39:12 2008
@@ -1,0 +1,1 @@
+script/localizenewlines
Modified: trunk/libfile-localizenewlines-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-localizenewlines-perl/debian/rules?rev=25130&op=diff
==============================================================================
--- trunk/libfile-localizenewlines-perl/debian/rules (original)
+++ trunk/libfile-localizenewlines-perl/debian/rules Sun Sep 14 14:39:12 2008
@@ -1,4 +1,7 @@
#!/usr/bin/make -f
+
+PKG=$(shell dh_listpackages)
+TMP=$(CURDIR)/debian/$(PKG)
build: build-stamp
build-stamp:
@@ -11,6 +14,9 @@
install: install-stamp
install-stamp: build-stamp
dh install
+ # this script is installed as an example; remove it from /usr/bin
+ rm -v $(TMP)/usr/bin/localizenewlines
+ rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/bin
touch $@
binary-arch:
More information about the Pkg-perl-cvs-commits
mailing list