autoconfing for the data stuff

-Yosh
This commit is contained in:
Manish Singh 1998-03-01 06:20:05 +00:00
parent 0fc01db1ed
commit 4fcde69ce0
9 changed files with 56 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Sat Feb 28 22:05:15 PST 1998 Manish Singh <yosh@gimp.org>
* autoconfed the data stuff
Sat Feb 28 23:38:30 EST 1998 Adrian Likins <adrian@gimp.org>
* at yosh's suggestion, merged gimp-data-min

View File

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = libgimp plug-ins app
SUBDIRS = libgimp plug-ins app data
EXTRA_DIST = TODO TODO-DIST NOTES gtkrc gimp_logo.ppm gimp_splash.ppm rmshm user_install gimp_tips.txt ps-menurc

View File

@ -234,15 +234,29 @@ fi
dnl TVM: check for compiler characteristics
AC_C_INLINE
gimpdatadir=$datadir/$PACKAGE
gimpdatadir=$datadir/gimp
gimpplugindir=$libdir/$PACKAGE/$GIMP_MAJOR_VERSION_NUMBER.$GIMP_MINOR_VERSION_NUMBER
brushdata=`ls -1 data/brushes | grep -v Makefile`
gradientdata=`ls -1 data/gradients | grep -v Makefile`
palettedata=`ls -1 data/palettes | grep -v Makefile`
patterndata=`ls -1 data/patterns | grep -v Makefile`
brushdata=`echo $brushdata`
gradientdata=`echo $gradientdata`
palettedata=`echo $palettedata`
patterndata=`echo $patterndata`
dnl This is for generating PDB docuemntation.
AC_PATH_PROG(EMACS, emacs, :)
AC_SUBST(gimpdir)
AC_SUBST(gimpdatadir)
AC_SUBST(gimpplugindir)
AC_SUBST(brushdata)
AC_SUBST(gradientdata)
AC_SUBST(palettedata)
AC_SUBST(patterndata)
AC_SUBST(WEBBROWSER)
AC_SUBST(LIBXMU_LIB)
AC_SUBST(TIFF)
@ -387,4 +401,9 @@ plug-ins/flarefx/Makefile
plug-ins/webbrowser/Makefile
app/Makefile
docs/Makefile
data/Makefile
data/brushes/Makefile
data/gradients/Makefile
data/palettes/Makefile
data/patterns/Makefile
)

2
data/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile.in
Makefile

21
data/Makefile.am Normal file
View File

@ -0,0 +1,21 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = brushes gradients palettes patterns
brushdata=
gradientdata=
palettedata=
patterndata=
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
@for subdir in $(SUBDIRS); do \
files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
for file in $$files; do \
echo $$subdir/$$file; \
done; \
done

2
data/brushes/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile.in
Makefile

View File

@ -0,0 +1,2 @@
Makefile.in
Makefile

2
data/palettes/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile.in
Makefile

2
data/patterns/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
Makefile.in
Makefile