1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
DEB_CONFIGURE_EXTRA_FLAGS += --disable-install-schemas \
--with-gecko=libxul-embedding
DEB_DH_MAKESHLIBS_ARGS_ALL += -V 'libdevhelp-1-0 (>= 0.14)'
X_TOOLS += misc/devhelp.vim \
misc/html2funcs.py \
misc/html2xml.py \
misc/man2xml.py
clean::
-rm -f debian/devhelp.emacsen-startup
-rm -f src/dh-marshal.h
-rm -f debian/shlibs.local
binary-install/devhelp-common::
dh_pysupport -p$(cdbs_curpkg) /usr/lib/gedit-2/plugins/devhelp
# this creates a debian/shlibs.local forcing very strict interdependencies
binary-post-install/libdevhelp-1-0::
chrpath -d `pwd`/debian/libdevhelp-1-0/usr/lib/libdevhelp-1.so.0.0.0
dh_makeshlibs -plibdevhelp-1-0 -n \
-V "libdevhelp-1-0 (= $(DEB_VERSION))"
mv debian/libdevhelp-1-0/DEBIAN/shlibs \
debian/shlibs.local
binary-post-install/devhelp::
chrpath -d `pwd`/debian/devhelp/usr/bin/devhelp
dh_link -pdevhelp usr/share/man/man1/devhelp.1.gz \
usr/share/man/man1/devhelp-bin.1.gz
install -d `pwd`/debian/devhelp/usr/share/pixmaps/
install -m 644 debian/devhelp-debian.xpm \
`pwd`/debian/devhelp/usr/share/pixmaps/
install -d `pwd`/debian/devhelp/usr/share/doc/devhelp/tools/
install -m 644 $(X_TOOLS) \
`pwd`/debian/devhelp/usr/share/doc/devhelp/tools/
pre-build::
cp misc/devhelp.el debian/devhelp.emacsen-startup
|