-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
55 lines (42 loc) · 1.5 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
if HAVE_SCROLLKEEPER
SCROLLKEEPER_DIR = help
else
SCROLLKEEPER_DIR =
endif
SUBDIRS = pixmaps $(SCROLLKEEPER_DIR) libs src po
DIST_SUBDIRS = pixmaps help libs src po
DESKTOP_IN_FILES = \
gst-editor.desktop.in \
gst-inspect.desktop.in \
gst-launch.desktop.in
DESKTOP_FILES = $(DESKTOP_IN_FILES:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
MMdir = $(datadir)/applications
MM_DATA = $(DESKTOP_FILES)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gst-editor-libs.pc
EXTRA_DIST = \
mkinstalldirs \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
$(DESKTOP_FILES) $(DESKTOP_IN_FILES) \
RELEASE HACKING TODO
INTLTOOL_BUILT = \
intltool-extract \
intltool-merge \
intltool-update
DISTCLEANFILES = $(INTLTOOL_BUILT) $(DESKTOP_FILES)
# to do a release, run "make release"
# this will generate all archives and md5sums
# make bz2 as well
AUTOMAKE_OPTIONS = dist-bzip2
release: dist
make @PACKAGE@-@[email protected]
make @PACKAGE@-@[email protected]
# generate md5 sum files
%.md5: %
md5sum $< > $@
dist-hook:
cp -r ./common $(distdir)
rm -rf `find $(distdir)/common -name CVS`