summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/m4/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'qt-recordmydesktop/m4/common.mk')
-rw-r--r--qt-recordmydesktop/m4/common.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/qt-recordmydesktop/m4/common.mk b/qt-recordmydesktop/m4/common.mk
new file mode 100644
index 0000000..e6b86a1
--- /dev/null
+++ b/qt-recordmydesktop/m4/common.mk
@@ -0,0 +1,28 @@
+clean-local:
+ @rm -rf _trial_temp
+
+test:
+ @make check -C flumotion/test
+
+check-docs:
+ @make check -C doc/reference
+
+coverage:
+ @trial --coverage coverage -R flumotion.test
+ @$(PYTHON) common/show-coverage.py _trial_temp/coverage/flumotion.*
+
+fixme:
+ tools/fixme | less -R
+
+release: dist
+ make $(PACKAGE)-$(VERSION).tar.bz2.md5
+
+# generate md5 sum files
+%.md5: %
+ md5sum $< > $@
+
+# generate a sloc count
+sloc:
+ sloccount flumotion | grep "(SLOC)" | cut -d = -f 2
+
+.PHONY: test
© All Rights Reserved