source: skype/Makefile @ b2fa16b

Last change on this file since b2fa16b 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
RevLine 
[bff265c]1-include config.mak
[f06e3ac]2
[b2fa16b]3VERSION = 0.3.0
[05c1bed]4
[bbf1050]5skype.so: skype.c config.mak
[bff265c]6        $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS)
[f06e3ac]7
[2fcad6e]8install: skype.so skyped.py
[bbf1050]9        $(INSTALL) -d $(DESTDIR)$(plugindir)
[f080961]10        $(INSTALL) -d $(DESTDIR)$(bindir)
[a3262d1e]11        $(INSTALL) -d $(DESTDIR)$(sysconfdir)
[bbf1050]12        $(INSTALL) skype.so $(DESTDIR)$(plugindir)
[f080961]13        $(INSTALL) skyped.py $(DESTDIR)$(bindir)/skyped
[c7304b2]14        sed -i 's|/usr/local/etc/skyped|$(sysconfdir)|' $(DESTDIR)$(bindir)/skyped
[a3262d1e]15        $(INSTALL) -m644 skyped.conf.dist $(DESTDIR)$(sysconfdir)/skyped.conf
[55664fc]16        $(INSTALL) -m644 skyped.cnf $(DESTDIR)$(sysconfdir)
[bbf1050]17
[dfec37e]18client: client.c
19
[bff265c]20prepare: configure.ac
21        cp /usr/share/automake/install-sh ./
22        cp /usr/share/aclocal/pkg.m4 aclocal.m4
23        autoconf
24
[f06e3ac]25clean:
26        rm -f skype.so
[0c60f96]27
[bff265c]28distclean: clean
29        rm -rf autom4te.cache config.log config.mak config.status
30        rm -f configure install-sh aclocal.m4
31
[05c1bed]32dist:
[1c3f19f]33        git-archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD | tar xf -
[05c1bed]34        mkdir -p bitlbee-skype-$(VERSION)
35        git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog
[127966f]36        make -C bitlbee-skype-$(VERSION) prepare
[1c3f19f]37        tar czf bitlbee-skype-$(VERSION).tar.gz bitlbee-skype-$(VERSION)
[05c1bed]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
[e23a46e]46doc: HEADER.html Changelog
[d1c9e35]47
48HEADER.html: README
[0c60f96]49        ln -s README HEADER.txt
[7de5a60]50        asciidoc -a toc -a numbered -a sectids HEADER.txt
[0c60f96]51        rm HEADER.txt
[e23a46e]52
53Changelog: .git/refs/heads/master
[7e600c9]54        git log --no-merges |git name-rev --tags --stdin >Changelog
Note: See TracBrowser for help on using the repository browser.