summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: e954165210e6508c86e684b1d7b83a4f94a1f735 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## Process this file with automake to produce Makefile.in

SRC_SUBDIRS = glib gdk gtk
SUBDIRS = $(SRC_SUBDIRS) docs

bin_SCRIPTS = gtk-config

EXTRA_DIST =	\
	gtk+.prj	\
        gtk.m4          \
	makecopyright	\
	TODO		\
	examples/gtkdial/Makefile \
	examples/gtkdial/dial_test.c \
	examples/gtkdial/gtkdial.c \
	examples/helloworld/Makefile \
	examples/helloworld/helloworld.c \
	examples/helloworld2/Makefile \
	examples/helloworld2/helloworld2.c \
	examples/scribble-simple/Makefile \
	examples/scribble-simple/scribble-simple.c \
	examples/tictactoe/Makefile \
	examples/tictactoe/tictactoe.c \
	examples/tictactoe/ttt_test.c \
	examples/buttons/Makefile \
	examples/buttons/info.xpm \
	examples/buttons/buttons.c


m4datadir = $(datadir)/aclocal
m4data_DATA = gtk.m4

.PHONY: files populate checkin release

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

populate:
	@echo "populating project"
	@files=`$(MAKE) files | grep -v "make\[[1-9]\]"`; prcs populate -d gtk+.prj $$files

checkin: populate
	@echo "checking in project"
	@prcs checkin

release:
	$(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`