DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update INTLTOOL_FILES = \ intltool-extract.in \ intltool-merge.in \ intltool-update.in EXTRA_DIST = \ AUTHORS \ ChangeLog \ COPYING \ DEVELOPMENT \ INSTALL \ NEWS \ README \ cmake/modules/*.cmake \ $(PACKAGE).spec \ $(PACKAGE).spec.in SUBDIRS = \ libkolabxml \ pykolab \ schemas tarball: git stash make dist ChangeLog: (GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) srpm: ChangeLog dist @rpmbuild -ts $(PACKAGE)-$(VERSION).tar.gz rpm: srpm @rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz all: ChangeLog test: all quicktest quicktest: @nosetests -v -d pykolab/format/tests/ clean: find -type f -name "*.pyo" -o -name "*.pyc" -delete