-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
66 lines (57 loc) · 1.51 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = m4 src po help
EXTRA_DIST = \
COPYING-DOCS \
autogen.sh \
gmfsk.glade \
gmfsk.gladep \
gmfsk.spec \
gmfsk.spec.in \
xmldocs.make \
omf.make \
$(schema_DATA)
DISTCLEANFILES=config.h.in~
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = gmfsk.schemas
install-data-local:
@$(NORMAL_INSTALL)
if test -d $(srcdir)/pixmaps; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
for pixmap in $(srcdir)/pixmaps/*; do \
if test -f $$pixmap; then \
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
fi \
done \
fi
if test -d $(srcdir)/fonts; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/fonts/feldhell; \
for font in $(srcdir)/fonts/*; do \
if test -f $$font; then \
$(INSTALL_DATA) $$font $(DESTDIR)$(datadir)/fonts/feldhell; \
fi \
done \
fi
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
$(GCONFTOOL) --makefile-install-rule $(top_builddir)/gmfsk.schemas
dist-hook:
if test -d pixmaps; then \
mkdir $(distdir)/pixmaps; \
for pixmap in pixmaps/*; do \
if test -f $$pixmap; then \
cp -p $$pixmap $(distdir)/pixmaps; \
fi \
done \
fi
if test -d fonts; then \
mkdir $(distdir)/fonts; \
for font in fonts/*; do \
if test -f $$font; then \
cp -p $$font $(distdir)/fonts; \
fi \
done \
fi
rpm: Makefile
make dist
$(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
rm $(PACKAGE)-$(VERSION).tar.gz