Subversion Repositories Scribus

Rev

Rev 3979 | Rev 5054 | 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
#
4457 craig 37
# Remember to add install rules for files you add here if you want them
38
# installed.
1960 craig 39
 
4457 craig 40
EXTRA_DIST = AUTHORS \
41
			 BUILDING \
42
			 ChangeLog \
43
			 ChangeLogCVS \
44
			 COPYING \
45
			 INSTALL \
46
			 NEWS \
47
			 PACKAGING \
48
			 README \
49
			 README.MacOSX \
50
			 TODO \
51
			 scribus.xml \
3979 mrdocs 52
			 scribus.lsm scribus.desktop Scribus.pot \
4457 craig 53
			 configure config.h.in configure.in \
54
			 configure.in.in configure.in.bot Makefile.cvs \
1960 craig 55
			 stamp-h1 subdirs configure.files \
4457 craig 56
			 admin/acinclude.m4.in \
57
			 admin/libtool.m4.in admin/Makefile.common \
58
			 admin/cvs.sh admin/am_edit admin/detect-autoconf.sh
1960 craig 59
 
3 paul 60
dist-hook:
61
	cd $(top_distdir) && perl admin/am_edit -padmin
62
	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
872 cbradney 63
 
64
AM_CPPFLAGS = \
65
    -DDOCDIR=\"$(datadir)/scribus/doc/\" \
66
    -DICONDIR=\"$(datadir)/scribus/icons/\" \
67
    -DSAMPLESDIR=\"$(datadir)/scribus/samples/\" \
68
    -DSCRIPTSDIR=\"$(datadir)/scribus/scripts/\" \
69
    -DTEMPLATEDIR=\"$(datadir)/scribus/templates/\" \
70
    -DLIBDIR=\"$(libdir)/scribus/\" \
71
    -DPLUGINDIR=\"$(libdir)/scribus/plugins/\"
4457 craig 72
 
73
#
74
# Files here MUST appear in EXTRA_DIST above. Kindly keep this
75
# list sorted the same as the matching part of EXTRA_DIST to
76
# ease future maintainance.
77
#
78
install-data-local:
79
	$(mkinstalldirs) $(prefix)/share
80
	$(mkinstalldirs) $(prefix)/share/scribus
81
	$(mkinstalldirs) $(prefix)/share/scribus/doc
82
	$(INSTALL_DATA) $(top_srcdir)/AUTHORS $(prefix)/share/scribus/doc/AUTHORS
83
	$(INSTALL_DATA) $(top_srcdir)/BUILDING $(prefix)/share/scribus/doc/BUILDING
84
	$(INSTALL_DATA) $(top_srcdir)/ChangeLogCVS $(prefix)/share/scribus/doc/ChangeLogCVS
85
	$(INSTALL_DATA) $(top_srcdir)/ChangeLog $(prefix)/share/scribus/doc/ChangeLog
86
	$(INSTALL_DATA) $(top_srcdir)/COPYING $(prefix)/share/scribus/doc/COPYING
87
	$(INSTALL_DATA) $(top_srcdir)/INSTALL $(prefix)/share/scribus/doc/INSTALL
88
	$(INSTALL_DATA) $(top_srcdir)/NEWS $(prefix)/share/scribus/doc/NEWS
89
	$(INSTALL_DATA) $(top_srcdir)/PACKAGING $(prefix)/share/scribus/doc/PACKAGING
90
	$(INSTALL_DATA) $(top_srcdir)/README.MacOSX $(prefix)/share/scribus/doc/README.MacOSX
91
	$(INSTALL_DATA) $(top_srcdir)/README $(prefix)/share/scribus/doc/README
92
	$(INSTALL_DATA) $(top_srcdir)/TODO $(prefix)/share/scribus/doc/TODO