[Pkg-jed-commit] r294 - trunk/packages/jed-extra/debian
Jörg Sommer
jo-guest at costa.debian.org
Mon May 22 16:45:18 UTC 2006
Author: jo-guest
Date: 2006-05-22 16:45:18 +0000 (Mon, 22 May 2006)
New Revision: 294
Modified:
trunk/packages/jed-extra/debian/rules
Log:
* jed-extra/debian/rules:
+ the directory name in the jedmode archive changed; get-orig-source
adopted
Modified: trunk/packages/jed-extra/debian/rules
===================================================================
--- trunk/packages/jed-extra/debian/rules 2006-05-22 15:24:13 UTC (rev 293)
+++ trunk/packages/jed-extra/debian/rules 2006-05-22 16:45:18 UTC (rev 294)
@@ -14,44 +14,16 @@
VER = $(shell perl -ne '/([\d.]+)-/; print $$1; exit' < \
$(dir $(firstword $(MAKEFILE_LIST)))/changelog)
-
build:
# nothing to do, but required by debian policy
get-orig-source: jed-extra_$(VER).orig.tar.gz
- # Debian policy says:
- # This target fetches the most recent version of the original source
- # package from a canonical archive site (via FTP or WWW, for example)
- # The dependency on the archive file makes it idempotent
-
-jed-extra_$(VER).orig.tar.gz:
- # Get the upstream archive
- # uncomment your choice of source location # TODO: make this an option
- #
# officially released CVS tarball directly from a download mirror
# wget http://kent.dl.sourceforge.net/sourceforge/jedmodes/jedmodes-$(VER).tgz
# latest non-released source tarball
- if [ -e ~/.jed/jedmodes/src/jedmodes-$(VER).tgz ]; then \
- cp ~/.jed/jedmodes/src/jedmodes-$(VER).tgz .; \
- else \
- wget http://jedmodes.sf.net/cvs/jedmodes-$(VER).tgz; \
- fi
-
- # rename
+ wget http://jedmodes.sf.net/cvs/jedmodes-$(VER).tgz
mv jedmodes-$(VER).tgz jed-extra_$(VER).orig.tar.gz
- # Debian Developers Reference recommends to keep the upstream tarball
- # pristine, if possible, so the following is just for reference
-
- # TODO: get modes from different URIs
- # and extract to jed-extra-$(VER)/$modename/
-
- # repack (not needed if the orig.tar.gz is pristine)
- # dpkg-source -b ....
-
- # take care to clean up any temporary files this rule may have left!
- # rm -R jed-extra-$(VER)
-
clean: unpatch
dh_testdir
dh_clean
@@ -73,7 +45,7 @@
# move mode documentation to /usr/share/doc/jed-extra/mode-doc/
install -d $(debroot)/usr/share/doc/jed-extra/mode-doc/
mv $$(find . -name \*.html -o -name \*.otl -name \*.example) \
- $(debroot)/usr/share/doc/jed-extra/mode-doc/
+ $(debroot)/usr/share/doc/jed-extra/mode-doc/
# generate jed-extra.install from categorization in contents.txt
jed-script debian/sort-modes.sl
@@ -90,7 +62,7 @@
# fix some names (as dh_install* cannot change filenames)
mv $(debroot)/usr/share/jed/compile/compile \
$(debroot)/usr/share/jed/compile/jed-extra
-
+
chmod +x $(debroot)/usr/share/jed/compile/jed-extra
#dh_installdebconf
More information about the Pkg-jed-commit
mailing list