source: skype/Makefile @ 48181f0

Last change on this file since 48181f0 was c47e566, checked in by Miklos Vajna <vmiklos@…>, at 2008-02-23T02:44:56Z

updates for 0.3.2

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[bff265c]1-include config.mak
[f06e3ac]2
[c47e566]3VERSION = 0.3.2
[05c1bed]4
[5e21e06]5AMVERSION = $(shell automake --version|sed 's/.* //;s/\([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/;q')
[3fd8b71]6
[bbf1050]7skype.so: skype.c config.mak
[bff265c]8        $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS)
[f06e3ac]9
[2fcad6e]10install: skype.so skyped.py
[bbf1050]11        $(INSTALL) -d $(DESTDIR)$(plugindir)
[f080961]12        $(INSTALL) -d $(DESTDIR)$(bindir)
[a3262d1e]13        $(INSTALL) -d $(DESTDIR)$(sysconfdir)
[bbf1050]14        $(INSTALL) skype.so $(DESTDIR)$(plugindir)
[f080961]15        $(INSTALL) skyped.py $(DESTDIR)$(bindir)/skyped
[c7304b2]16        sed -i 's|/usr/local/etc/skyped|$(sysconfdir)|' $(DESTDIR)$(bindir)/skyped
[a3262d1e]17        $(INSTALL) -m644 skyped.conf.dist $(DESTDIR)$(sysconfdir)/skyped.conf
[55664fc]18        $(INSTALL) -m644 skyped.cnf $(DESTDIR)$(sysconfdir)
[bbf1050]19
[dfec37e]20client: client.c
21
[bff265c]22prepare: configure.ac
[3fd8b71]23        cp /usr/share/automake-$(AMVERSION)/install-sh ./
[bff265c]24        cp /usr/share/aclocal/pkg.m4 aclocal.m4
25        autoconf
26
[f06e3ac]27clean:
28        rm -f skype.so
[0c60f96]29
[bff265c]30distclean: clean
31        rm -rf autom4te.cache config.log config.mak config.status
32        rm -f configure install-sh aclocal.m4
33
[05c1bed]34dist:
[68796a1]35        git archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD | tar xf -
[05c1bed]36        mkdir -p bitlbee-skype-$(VERSION)
37        git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog
[127966f]38        make -C bitlbee-skype-$(VERSION) prepare
[1c3f19f]39        tar czf bitlbee-skype-$(VERSION).tar.gz bitlbee-skype-$(VERSION)
[05c1bed]40        rm -rf bitlbee-skype-$(VERSION)
41
42release:
43        git tag $(VERSION)
44        $(MAKE) dist
45        gpg --comment "See http://ftp.frugalware.org/pub/README.GPG for info" \
46                -ba -u 20F55619 bitlbee-skype-$(VERSION).tar.gz
47
[e23a46e]48doc: HEADER.html Changelog
[d1c9e35]49
[ff99090]50HEADER.html: README Makefile
[0c60f96]51        ln -s README HEADER.txt
[7de5a60]52        asciidoc -a toc -a numbered -a sectids HEADER.txt
[3b495c0]53        sed -i 's|@VERSION@|$(VERSION)|g' HEADER.html
[0c60f96]54        rm HEADER.txt
[e23a46e]55
56Changelog: .git/refs/heads/master
[7e600c9]57        git log --no-merges |git name-rev --tags --stdin >Changelog
Note: See TracBrowser for help on using the repository browser.