source: skype/Makefile @ a74f5b5

Last change on this file since a74f5b5 was b2fa16b, checked in by Miklos Vajna <vmiklos@…>, at 2008-01-12T20:17:00Z

updates for 0.3.0

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