blob: 49010c975e8299f75e2adcd4c84e23eacd2cbe91 (
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
|
# -----------------------------------------------------------------------------
# gentoo root Makefile.am
# -----------------------------------------------------------------------------
EXTRA_DIST=config.rpath BUGS CONFIG-CHANGES CREDITS README.NLS README.gtkrc docs icons gentoo.spec
SUBDIRS=m4 icons po src
sysconf_DATA=gentoorc gentoogtkrc
# Get my personal config, and massage it into a gentoorc.in template. This should
# make things better. It abstracts my config by replacing hard-coded stuff with
# autoconf symbols and other generics. This should be run prior to "make dist".
config:
cp gentoorc.in gentoorc.in.bak
sed -e 's/<version>\"[0-9.a-z]*\"<\/version>/<version>"\@VERSION\@"<\/version>/' \
-e 's/<path>\"icons\"<\/path>/<path>\"\@prefix\@\/share\/\@PACKAGE\@\/icons\/\"<\/path>/' \
-e 's/<defpath>\"[-0-9.a-zA-Z_~/]*\"<\/defpath>/<defpath>"~"<\/defpath>/' \
-e 's/<w>\([8-9][0-9]*\)/<w>800/' \
-e 's/<h>\([6-9][0-9]*\)/<h>600/' \
-e 's/<ignore>\("[a-z-]*"\)<\/ignore>//' \
< ~/.config/gentoo/gentoorc >gentoorc.in
ACLOCAL_AMFLAGS=-I m4
#
# Remove any Subversion files, since we don't want those to be distributed.
#
dist-hook:
find $(top_distdir) -name .svn -type d | xargs rm -rf
|