File: configure.in

package info (click to toggle)
gimp-data-extras 1%3A1.0.0-1
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 8,416 kB
  • ctags: 1
  • sloc: makefile: 446; sh: 272
file content (25 lines) | stat: -rw-r--r-- 801 bytes parent folder | download
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(brushes/flower.gbr)

AM_INIT_AUTOMAKE(gimp-data-extras, 1.0.0)

gimpdatadir=$datadir/gimp

brushdata=`ls -1 $srcdir/brushes | grep -v Makefile`
gradientdata=`ls -1 $srcdir/gradients | grep -v Makefile`
palettedata=`ls -1 $srcdir/palettes | grep -v Makefile`
patterndata=`ls -1 $srcdir/patterns | grep -v Makefile`

brushdata=`echo $brushdata`
gradientdata=`echo $gradientdata`
palettedata=`echo $palettedata`
patterndata=`echo $patterndata`

AC_SUBST(gimpdatadir)
AC_SUBST(brushdata)
AC_SUBST(gradientdata)
AC_SUBST(palettedata)
AC_SUBST(patterndata)

dnl Output the Makefiles
AC_OUTPUT(Makefile brushes/Makefile gradients/Makefile palettes/Makefile patterns/Makefile, [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])