[Pkg-jed-commit] [SCM] A repository for testing branch, master, updated. 5be4a93f28b3f0ad81fff0b3e661535189882b53
Jörg Sommer
joerg at alea.gnuu.de
Sun Dec 16 21:34:55 UTC 2007
The branch, master has been updated
via 5be4a93f28b3f0ad81fff0b3e661535189882b53 (commit)
from 5fd6e5b1ccb2b1214fe567adb770b3a788073719 (commit)
- Shortlog ------------------------------------------------------------
5be4a93 Emptied rules to have more fun.
Summary of changes:
debian/rules | 176 ----------------------------------------------------------
1 files changed, 0 insertions(+), 176 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 5be4a93f28b3f0ad81fff0b3e661535189882b53
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date: Sun Dec 16 22:33:22 2007 +0100
Emptied rules to have more fun.
diff --git a/debian/rules b/debian/rules
index 1a6c573..e69de29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,176 +0,0 @@
-#!/usr/bin/make -f
-
-#export DH_VERBOSE=1
-
-# These additional compiler flags should bring up warnings about common
-# sources of errors.
-CFLAGS += -Wall -Wformat=2 -Wunused -Wundef -Wextra -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-include /usr/share/dpatch/dpatch.make
-
-jed=$(CURDIR)/debian/jed
-xjed=$(CURDIR)/debian/xjed
-jed-common=$(CURDIR)/debian/jed-common
-temp=debian/tmp
-
-# get upstream version from changelog (FIXME)
-# UPSTREAM_VERSION = $(shell perl -ne '/([\d.]+)-/; print $$1; exit' < \
-# $(dir $(firstword $(MAKEFILE_LIST)))/changelog)
-UPSTREAM_VERSION=0.99-18
-DEBIAN_UPSTREAM_VERSION=$(subst -,.,$(UPSTREAM_VERSION)).dfsg.1
-
-clean: unpatch
- dh_testdir
- dh_clean
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -f build-stamp install-stamp
- # fixme-upstream
- rm -f src/config.h
-
-config.status: patch-stamp
- dh_testdir
- ./configure "CFLAGS=$(CFLAGS)" --prefix=/usr/share --exec-prefix=/usr --with-x
-
-build: build-stamp
-build-stamp: config.status
- dh_testdir
-
- #
- # --- MAKE ---
- #
- # These settings of DL_LIB, OTHERLIBS and XRENDERFONTLIBS are to get
- # right of unnecessary dependencies on libraries.
- # http://rerun.lefant.net/checklib/
- #
- # DL_LIB introduces a dependency on libdl that is already solved by
- # libc. OTHERLIBS introduces a dependency on libm that is also solved
- # by libc. XRENDERFONTLIBS fixes a problem with libxft-dev that defines
- # libfontconfig.
- $(MAKE) DL_LIB="" OTHERLIBS=-lutil XRENDERFONTLIBS=-lXft jed xjed # getmail
-
- touch build-stamp
-
-binary-indep: config.status
- dh_testdir
- dh_testroot
- # keep dh_install informations (debian/files) and debian/tmp
- dh_clean -i --keep
- dh_installdirs -i
-
- $(MAKE) DESTDIR=$(jed-common) install
- rm -r $(jed-common)/usr/bin/ $(jed-common)/usr/share/man/
- # fixme-upstream
- rm -r $(jed-common)/usr/share/jed/bin/
-
- #
- # --- JED-COMMON ---
- #
- # fill up /usr/share/doc/jed-common
- dh_installchangelogs -pjed-common changes.txt
-
- mv $(jed-common)/usr/share/jed/doc/README \
- $(jed-common)/usr/share/jed/doc/manual \
- $(jed-common)/usr/share/doc/jed-common
- dh_link -pjed-common usr/share/jed/doc/txt usr/share/doc/jed-common/txt
- dh_installdocs -pjed-common debian/README.Debian \
- debian/init.d/README.Debian-startup \
- debian/Debian-Jed-Policy.txt
-
- # generate info files from jed.tex
- rmdir $(jed-common)/usr/share/jed/info
- mkdir -p $(jed-common)/usr/share/info
- cd $(jed-common)/usr/share/info/; hevea -fix -info -o jed.info \
- $(jed-common)/usr/share/doc/jed-common/manual/jed.tex
-
- mv $(jed-common)/usr/share/doc/jed-common/manual \
- $(jed-common)/usr/share/doc/jed-common/html
-
- # generate html files from jed.tex
- hevea -fix -o $(jed-common)/usr/share/doc/jed-common/html/jed.hevea \
- $(jed-common)/usr/share/doc/jed-common/html/jed.tex
- cd $(jed-common)/usr/share/doc/jed-common/html/; hacha jed.hevea
- cd $(jed-common)/usr/share/doc/jed-common/html/; \
- rm jed.hevea jed.haux jed.htoc jed.tex
-
- # install some extra docs from the source
- dh_installexamples -pjed-common lib/jed.conf \
- $(jed-common)/usr/share/jed/lib/jed.rc
-
- # install *.sl files
- dh_install -pjed-common debian/defaults.sl usr/share/jed/lib/
- rm $(jed-common)/usr/share/jed/lib/jed.rc # it's moved to examples above
-
- # install compile script to build *.slc files after installation
- dh_install -pjed-common debian/compile usr/share/jed/compile
- mv $(jed-common)/usr/share/jed/compile/compile \
- $(jed-common)/usr/share/jed/compile/jed-common
- chmod +x $(jed-common)/usr/share/jed/compile/jed-common
-
- # fill up /etc
- dh_install -pjed-common debian/init.d/*.sl etc/jed.d/
- dh_link -i usr/share/doc/jed-common/README.Debian-startup etc/jed.d/README
-
- dh_installdebconf -i
-
- #
- # --- INSTALL-ARCH-INDEP ---
- #
- dh_compress -i --exclude=libfuns.hlp --exclude=jedfuns.hlp
-
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch: build-stamp
- dh_testdir
- dh_testroot
- # keep dh_install informations (debian/files) and debian/tmp
- dh_clean -a
- dh_installdirs -a
-
- #
- # --- JED ---
- #
- dh_install -pjed src/objs/jed usr/bin/
- dh_installman -pjed doc/manual/jed.1
- dh_link -pjed usr/share/doc/jed-common usr/share/doc/jed
-
- #
- # --- XJED ---
- #
- dh_install -pxjed src/objs/xjed usr/bin/
- dh_installman -pxjed doc/manual/jed.1
- mv $(xjed)/usr/share/man/man1/jed.1 $(xjed)/usr/share/man/man1/xjed.1
- dh_link -pxjed usr/share/doc/jed-common usr/share/doc/xjed
-
- #
- # --- INSTALL-ARCH-DEP ---
- #
- dh_installmenu -a
- dh_fixperms -a
- dh_strip -a
- dh_compress -a
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-arch binary-indep
-
-get-orig-source:
- wget ftp://space.mit.edu/pub/davis/jed/v0.99/jed-$(UPSTREAM_VERSION).tar.gz
- gunzip jed-$(UPSTREAM_VERSION).tar.gz
- tar f jed-$(UPSTREAM_VERSION).tar --delete jed-$(UPSTREAM_VERSION)/info
- gzip -9 jed-$(UPSTREAM_VERSION).tar
- mv jed-$(UPSTREAM_VERSION).tar.gz jed_$(DEBIAN_UPSTREAM_VERSION).orig.tar.gz
-
-.PHONY: build clean binary binary-arch binary-indep get-orig-source
--
A repository for testing
More information about the Pkg-jed-commit
mailing list