#!/usr/bin/make -f # -*- makefile -*- VERSION=2.3.2 DESTDIR=$(CURDIR)/debian/tmp override_dh_auto_clean: dh_auto_clean $(RM) config.log override_dh_auto_install: install -d $(DESTDIR)/usr/lib install -d $(DESTDIR)/usr/bin cp -a include $(DESTDIR)/usr cp -a src/.libs/*.so* src/.libs/*.la src/.libs/*.a $(DESTDIR)/usr/lib %: dh $@ --with autoreconf build-orig-source: mkdir -p zthreads-$(VERSION) tar --exclude=debian --exclude=\*~ --exclude=.svn --exclude=config.* \ --exclude=zthreads-$(VERSION) -cf - . \ | ( cd zthreads-$(VERSION) && tar xf - ) tar -czf ../zthreads_$(VERSION).orig.tar.gz zthreads-$(VERSION) $(RM) -r zthreads-$(VERSION)