#!/usr/bin/make -f # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. # Rewritten a lot by Ola Lundqvist. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatability version to use. #export DH_COMPAT=4 configure: configure-stamp configure-stamp: dh_testdir dh_autotools-dev_updateconfig ./configure --prefix=/usr --with-libjpeg \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info touch configure-stamp build: build-stamp: configure-stamp dh_testdir $(MAKE) # CFLAGS="-O2 -g -Wall" touch build-stamp clean: dh_testdir dh_autotools-dev_restoreconfig -rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f `find . -name "*~"` \ config.cache config.status config.guess config.sub \ *.o #rm -rf debian/tmp debian/files* core debian/substvars changelog.tmp -test -r /usr/share/misc/config.sub && \ cp -f /usr/share/misc/config.sub aux/config.sub -test -r /usr/share/misc/config.guess && \ cp -f /usr/share/misc/config.guess aux/config.guess dh_clean install: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/jpeginfo binary-indep: install # There are no architecture-independent files to be uploaded # generated by this package. If there were any they would be # made here. binary-arch: install dh_testroot dh_testdir # Must have debmake installed for this to work. Otherwise please copy # /usr/bin/debstd into the debian directory and change debstd to debian/debstd sed -ne '/HIST/,/^$$/p' < README > changelog.tmp touch --reference README changelog.tmp dh_installdirs dh_installdocs dh_installexamples dh_installchangelogs changelog.tmp dh_installmenu dh_installcron dh_installmanpages -pjpeginfo #dh_movefiles dh_strip dh_compress dh_fixperms dh_makeshlibs dh_shlibdeps dh_gencontrol dh_installdeb dh_md5sums dh_builddeb # Below here is fairly generic really binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean