]> Pileus Git - ~andy/gtk/blob - Makefile.am
Released GTK+ 0.99.9
[~andy/gtk] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SRC_SUBDIRS = glib gdk gtk
4 SUBDIRS = $(SRC_SUBDIRS) docs
5
6 bin_SCRIPTS = gtk-config
7
8 EXTRA_DIST =    \
9         gtk+.prj        \
10         gtk.m4          \
11         makecopyright   \
12         TODO            \
13         examples/gtkdial/Makefile \
14         examples/gtkdial/dial_test.c \
15         examples/gtkdial/gtkdial.c \
16         examples/helloworld/Makefile \
17         examples/helloworld/helloworld.c \
18         examples/helloworld2/Makefile \
19         examples/helloworld2/helloworld2.c \
20         examples/scribble-simple/Makefile \
21         examples/scribble-simple/scribble-simple.c \
22         examples/tictactoe/Makefile \
23         examples/tictactoe/tictactoe.c \
24         examples/tictactoe/ttt_test.c \
25         examples/buttons/Makefile \
26         examples/buttons/info.xpm \
27         examples/buttons/buttons.c
28
29
30 m4datadir = $(datadir)/aclocal
31 m4data_DATA = gtk.m4
32
33 .PHONY: files populate checkin release
34
35 files:
36         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
37           echo $$p; \
38         done
39         @for subdir in $(SUBDIRS); do \
40           files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
41           for file in $$files; do \
42             echo $$subdir/$$file; \
43           done; \
44         done
45
46 populate:
47         @echo "populating project"
48         @files=`$(MAKE) files | grep -v "make\[[1-9]\]"`; prcs populate -d gtk+.prj $$files
49
50 checkin: populate
51         @echo "checking in project"
52         @prcs checkin
53
54 release:
55         $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`