[cf55f4]: Makefile.am Maximize Restore History

Download this file

Makefile.am    96 lines (79 with data), 2.8 kB

 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
AUTOMAKE_OPTIONS = foreign
srcdir = $(shell pwd)
VERSION = $(shell cat ./VERSION)
ARCHIVE_DIR = ${srcdir}/../ARCHIVE
SRC_DIR = ${srcdir}
SRC_PREFIX = ${PACKAGE}
SUBDIRS = mt libkwave libgui kwave plugins po doc
CLEANFILES = *~ *.d *.dm *.dep *.moc *.moc.c?? .depend *.ii \#*
DISTCLEANFILES = config.cache config.log ${CLEANFILES}
configure.in: VERSION
touch configure.in
clean-generic:
-rm -f -v `find -size 0`
-rm -fv `find . -name \*.ii`
-rm -fv `find . -name \*.lo`
-rm -fv `find . -name \*.la`
-rm -fv `find . -name \*.moc.c??`
-rm -fv `find . -name \*.moc`
-rm -fv `find . -name \*.dep`
-rm -fv `find . -name \*.d`
-rm -fv `find . -name \*.dm`
-rm -fv `find . -name .depend`
-rm -rfv `find . -name .\* | grep -v "^\.\.$$" | grep -v "^\.$$"`
distclean-generic: clean-generic
-rm -f $(CONFIG_CLEAN_FILES)
-rm -f stamp-h stamp-h[0-9]*
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
reallyclean: clean-generic distclean
-rm -f config.cache
-rm -f config.log
-rm -fv `find . -type l -o -name Makefile`
backup: ${PACKAGE}.spec
@ cp ${PACKAGE}.spec ${PACKAGE}.spec.saved ; \
${MAKE} reallyclean ; \
mv ${PACKAGE}.spec.saved ${PACKAGE}.spec ; \
(cd ${srcdir}/..; \
tar -czh -f ${ARCHIVE_DIR}/${PACKAGE}-${VERSION}-backup.tgz \
${SRC_PREFIX} ) && \
echo source backed up to ${PACKAGE}-${VERSION}-backup.tgz
patch: ${PACKAGE}.spec
@ cp ${PACKAGE}.spec ${PACKAGE}.spec.saved ; \
${MAKE} reallyclean ; \
mv ${PACKAGE}.spec.saved ${PACKAGE}.spec ; \
(cd ${srcdir}/..; \
tar -czh -f ${ARCHIVE_DIR}/${PACKAGE}-${VERSION}.tar.gz ${SRC_PREFIX} ) && \
echo source backed up to ${PACKAGE}-${VERSION}.tar.gz
@ $(srcdir)/bin/make_patch.sh ${PACKAGE} `cat $(srcdir)/VERSION` \
${ARCHIVE_DIR} ${SRC_DIR} ${SRC_PREFIX}
patchlevel:
$(srcdir)/bin/increment_patchlevel.sh ${srcdir}
( cd doc ; ${MAKE} doc )
${MAKE} patch
release:
@ $(srcdir)/bin/increment_release.sh ${srcdir}
( cd doc ; ${MAKE} doc )
${MAKE} patch
messages:
rm -f po/*.gmo
(cd kwave ; ${MAKE} menus_config_i18n.cpp )
/usr/bin/xgettext -C -ki18n -x ${KDEDIR}/include/kde.pot \
`find . -name \*.h -o -name \*.cpp` -o ./po/${PACKAGE}.pot
(cd po ; ${MAKE} merge )
rpm_prep: distclean-generic ${PACKAGE}.spec
rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@
mkdir -p /tmp/${PACKAGE}-@RPM_VERSION@
(cd ${srcdir} ; cp -R -a ./* /tmp/${PACKAGE}-@RPM_VERSION@ )
(cd /tmp/ ; \
tar -chz -f ${PACKAGE}-@RPM_VERSION@.tar.gz \
${SRC_PREFIX}-@RPM_VERSION@ )
rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@
# does not work with original SuSE-6.4 rpm
# you will need an update of the rpm package !
rpm: rpm_prep
rpm -ta /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz
src.rpm: rpm_prep
rpm -bs ${PACKAGE}.spec
apidoc:
-rm -Rf `find . -name \*.moc.cpp`
doxygen doxy.cfg