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
|
#!/usr/bin/make -f
# Uncomment this for verbose output
#export DH_VERBOSE=1
include /usr/share/quilt/quilt.make
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
dh build
uudecode -o debian/contrib/doc/otl2html/ljlogo.png \
debian/contrib/doc/otl2html/ljlogo.png.b64
touch build-stamp
clean: unpatch
dh clean
-rm debian/contrib/doc/otl2html/ljlogo.png
install: build install-stamp
install-stamp:
dh install
gzip -9 debian/vim-vimoutliner/usr/share/vim/addons/doc/*
# Permission fix
chmod -x debian/vim-vimoutliner/usr/share/vim/addons/ftplugin/vo_*.vim
# Install scripts
install -D -m755 scripts/vo_maketags.pl \
debian/vim-vimoutliner/usr/bin/vo_maketags
install -D -m755 debian/contrib/scripts/otl2html.py \
debian/vim-vimoutliner/usr/bin/otl2html
install -D -m755 debian/contrib/scripts/otl2pdb.pl \
debian/vim-vimoutliner/usr/bin/otl2pdb
install -D -m755 debian/contrib/scripts/otl2docbook.pl \
debian/vim-vimoutliner/usr/bin/otl2docbook
touch install-stamp
binary-arch: install
dh binary-arch
binary-indep: install
dh binary-indep
binary: binary-arch binary-indep
|