Add debian directory and configuration file to build a Debian package darcs-hash:20060731213546-86b55-bbbde5940d66f28aa64317cc993906e14b39b229.gz
77 lines
1.5 KiB
Makefile
Executable File
77 lines
1.5 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
# jmc debian/rules file
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
configure: configure-stamp
|
|
configure-stamp:
|
|
dh_testdir
|
|
touch configure-stamp
|
|
|
|
build: build-stamp
|
|
|
|
build-stamp: configure-stamp
|
|
dh_testdir
|
|
touch build-stamp
|
|
|
|
clean:
|
|
dh_testdir
|
|
dh_testroot
|
|
rm -f build-stamp configure-stamp
|
|
|
|
# Clean up package tree
|
|
rm -f -R $(CURDIR)/debian/jmc
|
|
|
|
dh_clean
|
|
|
|
install: build
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_clean -k
|
|
dh_installdirs
|
|
|
|
# Create directory tree for package
|
|
|
|
cp -R $(CURDIR)/debian/jmc.conf $(CURDIR)/debian/jmc/etc/jabber/jmc.conf
|
|
cp -R $(CURDIR)/debian/jmc-default $(CURDIR)/debian/jmc/etc/default/jmc
|
|
cp -R $(CURDIR)/debian/jmc.sh $(CURDIR)/debian/jmc/usr/bin/jmc
|
|
cp -R $(CURDIR)/src/* $(CURDIR)/debian/jmc/usr/share/jmc
|
|
|
|
# Build architecture-independent files here.
|
|
binary-indep: build install
|
|
dh_testdir
|
|
dh_testroot
|
|
dh_installchangelogs
|
|
dh_installdocs
|
|
# dh_installexamples
|
|
dh_install
|
|
# dh_installmenu
|
|
# dh_installdebconf
|
|
dh_installlogrotate
|
|
# dh_installemacsen
|
|
# dh_installpam
|
|
# dh_installmime
|
|
dh_installinit
|
|
# dh_installcron
|
|
# dh_installinfo
|
|
# dh_installman
|
|
dh_link
|
|
# dh_strip
|
|
# dh_compress
|
|
dh_fixperms
|
|
# dh_perl
|
|
dh_python /usr/share/jmc
|
|
# dh_makeshlibs
|
|
dh_installdeb
|
|
# dh_shlibdeps
|
|
dh_gencontrol
|
|
dh_md5sums
|
|
dh_builddeb
|
|
|
|
# Build architecture-dependent files here.
|
|
binary-arch: build install
|
|
# We have nothing to do by default.
|
|
|
|
binary: binary-indep binary-arch
|
|
.PHONY: build clean binary-indep binary-arch binary install configure
|