Subversion Repositories Scribus

Rev

Rev 2241 | Rev 4457 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
779 fschmid 1
SUBDIRS = $(TOPSUBDIRS)
3 paul 2
 
779 fschmid 3
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
4
	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
3 paul 5
 
6
$(top_srcdir)/subdirs:
7
	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
8
 
9
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
10
	@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
11
 
12
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
13
 
14
package-messages:
779 fschmid 15
	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
3 paul 16
	$(MAKE) -C po merge
17
 
1960 craig 18
# Prevent the KDE build system from piling stuff we don't want into the
19
# toplevel dir of the "make dist" tarballs.
20
KDE_OPTIONS = noautodist
628 cbradney 21
 
1960 craig 22
# We have to list everything we want to go into the root level of the tarball
23
# in EXTRA_DIST, except dirs listed in SUBDIRS.
24
#
25
# We have to include configure.in and friends because the auto-generated make
26
# rules to re-generate configure if its .in files are modified cause the build
27
# to fail if those files are absent.
28
#
29
# We also have to list anything we want included from the admin dir that the
30
# build magic doesn't know to include in dist tarballs automatically. In this
31
# case, we include enough to handle the auto-regeneration of configure after
32
# configure.in, aclocal.m4, or acinclude.m4 are changed, since that's done
33
# using rules defined here and not in the admin magic.
34
# DO NOT INCLUDE THE "admin" DIR, ONLY FILES WITHIN IT. Otherwise you'll get
35
# *everything* in admin, including the CVS dirs etc.
36
#
37
 
2241 mrdocs 38
EXTRA_DIST = AUTHORS COPYING INSTALL README TODO NEWS PACKAGING BUILDING ChangeLog ChangeLogCVS scribus.xml \
3979 mrdocs 39
			 scribus.lsm scribus.desktop Scribus.pot \
2020 craig 40
			 configure config.h.in configure.in configure.in.in configure.in.bot Makefile.cvs \
1960 craig 41
			 stamp-h1 subdirs configure.files \
42
			 admin/acinclude.m4.in admin/libtool.m4.in admin/Makefile.common \
3979 mrdocs 43
			 admin/cvs.sh admin/am_edit admin/detect-autoconf.sh
1960 craig 44
 
3 paul 45
dist-hook:
46
	cd $(top_distdir) && perl admin/am_edit -padmin
47
	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
872 cbradney 48
 
49
AM_CPPFLAGS = \
50
    -DDOCDIR=\"$(datadir)/scribus/doc/\" \
51
    -DICONDIR=\"$(datadir)/scribus/icons/\" \
52
    -DSAMPLESDIR=\"$(datadir)/scribus/samples/\" \
53
    -DSCRIPTSDIR=\"$(datadir)/scribus/scripts/\" \
54
    -DTEMPLATEDIR=\"$(datadir)/scribus/templates/\" \
55
    -DLIBDIR=\"$(libdir)/scribus/\" \
56
    -DPLUGINDIR=\"$(libdir)/scribus/plugins/\"