File: Makefile.common

package info (click to toggle)
mp3check 0.8.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 796 kB
  • ctags: 681
  • sloc: cpp: 5,460; sh: 3,057; makefile: 52
file content (32 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = $(man_MANS) Makefile.init Makefile.common ChangeLog
CLEANFILES = *~
TAPPFRAME_SRC = tappconfig.cc tappconfig.h tstring.cc tstring.h texception.h tmap.h tvector.h

svnclean: distclean
	rm -f $(distdir).tar.gz $(distdir).lsm stamp-h.in mkinstalldirs missing libtapp install-sh configure config.h.in autoscan.log aclocal.m4 Makefile.in .dep.*
	rm -f $(TAPPFRAME_SRC) COPYING Makefile.common config.guess config.sub
	rm -rf autom4te.cache

TARNAME = $(distdir).tar.gz
LSMNAME = $(distdir).lsm

mdist: dist
	cp LSM_ENTRY $(LSMNAME)
	streplace -q "__VERSION__=$(VERSION)" $(LSMNAME)
	streplace -q "__DATE__=`date -R`" $(LSMNAME)
	streplace -q "__LSM_NAME__=`ls $(LSMNAME) -l -s |awk '{printf "%3sk %s\n",$$1,$$10}'`" $(LSMNAME)
	streplace -q "__TAR_NAME__=`ls $(TARNAME) -l -s |awk '{printf "%3sk %s\n",$$1,$$10}'`" $(LSMNAME)
	streplace -qx '(md5sum not available)=md5sum: '`md5sum $(TARNAME)|awk '{print $$1}'` $(LSMNAME)

.PHONY: mdist svnclean cl

# meta object compiler for qt
moc_%.cc: %.h
	moc -o $@ $<

cl:
	touch ChangeLog
	svn2cl

dist: cl