resetting manifest requested domain to floor
[platform/upstream/setup.git] / Makefile
1 NAME=setup
2 VERSION := $(shell awk '/Version:/ { print $$2 }' $(NAME).spec)
3 TAG=$(NAME)-$(VERSION)
4
5
6 check:
7         @echo Sanity checking selected files....
8         bash -n bashrc
9         bash -n profile
10         tcsh -f csh.cshrc
11         tcsh -f csh.login
12         ./uidgidlint ./uidgid
13         ./serviceslint ./services
14
15 tag-archive: check
16         @git tag -a -m "Tag as $(TAG)" -f $(TAG)
17
18 create-archive:
19         @git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 > $(NAME)-$(VERSION).tar.bz2
20         @echo "The archive is at $(NAME)-$(VERSION).tar.bz2"
21
22 archive: tag-archive create-archive
23
24 clean:
25         rm -f *.bz2