-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
31 lines (26 loc) · 870 Bytes
/
Copy pathMakefile.am
File metadata and controls
31 lines (26 loc) · 870 Bytes
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
VERSION=$(shell awk '/Version:/ { print $$2 }' mls-tools.spec)
SUBDIRS = ml-launch po examples
INTLTOOL_FILES = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
clean:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean); \
done
rm -Rf autom4te.cache
rm -f *.log
rm -f *~
rm -f mls-tools*tar.gz
tarball: clean
-tar --create --transform='s,^mls-tools,mls-tools-$(VERSION),' --show-transformed --file=mls-tools-$(VERSION).tar.gz --directory=.. -z --exclude-vcs --exclude=mls-tools-$(VERSION).tar.gz -v mls-tools
srpm: tarball
mkdir -p ~/rpmbuild/SOURCES
mkdir -p ~/rpmbuild/SRPMS
mv mls-tools-$(VERSION).tar.gz ~/rpmbuild/SOURCES
rpmbuild -bs mls-tools.spec