blob: 3a5bf85657dfa83af0e8e7fe34bf20c735b985fd (
plain)
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
|
####### kdevelop will overwrite this part!!! (begin)##########
SUBDIRS = doc knights media po
####### kdevelop will overwrite this part!!! (end)############
# not a GNU package. You can remove this line, if
# have all needed files, that a GNU package needs
AUTOMAKE_OPTIONS = foreign
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
rpm_prep: doc clean 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/ ; \
touch ${PACKAGE}-@RPM_VERSION@/doc/help_{en,de,fr,et}.docbook ; \
find ${SRC_PREFIX}-@RPM_VERSION@ -name CVS > \
/tmp/${PACKAGE}-tar-excludes.lst ; \
find ${SRC_PREFIX}-@RPM_VERSION@ -name Makefile \
-o -name Makefile.in >> \
/tmp/${PACKAGE}-tar-excludes.lst ; \
echo "${SRC_PREFIX}-@RPM_VERSION@/doc/api" >> \
/tmp/${PACKAGE}-tar-excludes.lst ; \
tar --exclude-from=/tmp/${PACKAGE}-tar-excludes.lst \
-chzf ${PACKAGE}-@[email protected] \
${SRC_PREFIX}-@RPM_VERSION@ ; \
rm -f /tmp/${PACKAGE}-tar-excludes.lst )
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}-@[email protected]
src.rpm: rpm_prep
rpm -ts /tmp/${PACKAGE}-@[email protected]
|