Line | |
---|
1 | -include config.mak |
---|
2 | |
---|
3 | VERSION = 0.2.1 |
---|
4 | |
---|
5 | skype.so: skype.c config.mak |
---|
6 | $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS) |
---|
7 | |
---|
8 | install: skype.so skyped.py |
---|
9 | $(INSTALL) -d $(DESTDIR)$(plugindir) |
---|
10 | $(INSTALL) -d $(DESTDIR)$(bindir) |
---|
11 | $(INSTALL) skype.so $(DESTDIR)$(plugindir) |
---|
12 | $(INSTALL) skyped.py $(DESTDIR)$(bindir)/skyped |
---|
13 | |
---|
14 | client: client.c |
---|
15 | |
---|
16 | prepare: configure.ac |
---|
17 | cp /usr/share/automake/install-sh ./ |
---|
18 | cp /usr/share/aclocal/pkg.m4 aclocal.m4 |
---|
19 | autoconf |
---|
20 | |
---|
21 | clean: |
---|
22 | rm -f skype.so |
---|
23 | |
---|
24 | distclean: clean |
---|
25 | rm -rf autom4te.cache config.log config.mak config.status |
---|
26 | rm -f configure install-sh aclocal.m4 |
---|
27 | |
---|
28 | dist: |
---|
29 | git-archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD | tar xf - |
---|
30 | mkdir -p bitlbee-skype-$(VERSION) |
---|
31 | git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog |
---|
32 | make -C bitlbee-skype-$(VERSION) prepare |
---|
33 | tar czf bitlbee-skype-$(VERSION).tar.gz bitlbee-skype-$(VERSION) |
---|
34 | rm -rf bitlbee-skype-$(VERSION) |
---|
35 | |
---|
36 | release: |
---|
37 | git tag $(VERSION) |
---|
38 | $(MAKE) dist |
---|
39 | gpg --comment "See http://ftp.frugalware.org/pub/README.GPG for info" \ |
---|
40 | -ba -u 20F55619 bitlbee-skype-$(VERSION).tar.gz |
---|
41 | |
---|
42 | doc: HEADER.html Changelog |
---|
43 | |
---|
44 | HEADER.html: README |
---|
45 | ln -s README HEADER.txt |
---|
46 | asciidoc -a toc -a numbered -a sectids HEADER.txt |
---|
47 | rm HEADER.txt |
---|
48 | |
---|
49 | Changelog: .git/refs/heads/master |
---|
50 | git log --no-merges |git name-rev --tags --stdin >Changelog |
---|
Note: See
TracBrowser
for help on using the repository browser.