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
56
57
58
59
60
61
62
63
64
65
|
## Process this file with automake to produce Makefile.in
## Created by Anjuta
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-tools
SUBDIRS = \
lib \
modules \
src \
po \
doc \
data
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
gnome-scan.pc
desktopdir = $(datadir)/applications
desktop_IN = flegita.desktop.in
desktop_DATA = \
$(desktop_IN:.in=)
@INTLTOOL_DESKTOP_RULE@
todo.py:
@:
TODO.tasks:
@:
TODO: todo.py TODO.tasks
@if test $(SVN) = "1" ; then \
echo "Updating $@"; \
./todo.py; \
fi
C = $(shell find $(SUBDIRS) -name "*.c")
po/POTFILES.in: $(C)
@echo "Updating $@";
@for f in $(C); do grep -q "_(" $$f && echo $$f; done | sort > $@
@echo $(desktop_IN) >> $@
EXTRA_DIST = \
ChangeLog \
MAINTAINERS \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
po/Makefile.in.in \
po/POTFILES.in \
$(desktop_IN)
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
$(desktop_DATA)
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
|