source: skype/Makefile @ a317ba6

Last change on this file since a317ba6 was df13c25, checked in by Miklos Vajna <vmiklos@…>, at 2008-03-14T21:44:02Z

avoid ${prefix} in skyped.conf

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