source: skype/Makefile @ c7304b2

Last change on this file since c7304b2 was c7304b2, checked in by Miklos Vajna <vmiklos@…>, at 2008-01-12T20:07:10Z

auth via ssl

  • move the config file to sysconfdir/skyped/skyped.conf as there will other config files there, too
  • autogenerate the ssl paths in skyped.conf.dist
  • skype plugin: connect via ssl
  • skyped: listen via ssl
  • Property mode set to 100644
File size: 1.5 KB
Line 
1-include config.mak
2
3VERSION = 0.2.6
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
17client: client.c
18
19prepare: configure.ac
20        cp /usr/share/automake/install-sh ./
21        cp /usr/share/aclocal/pkg.m4 aclocal.m4
22        autoconf
23
24clean:
25        rm -f skype.so
26
27distclean: clean
28        rm -rf autom4te.cache config.log config.mak config.status
29        rm -f configure install-sh aclocal.m4
30
31dist:
32        git-archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD | tar xf -
33        mkdir -p bitlbee-skype-$(VERSION)
34        git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog
35        make -C bitlbee-skype-$(VERSION) prepare
36        tar czf bitlbee-skype-$(VERSION).tar.gz bitlbee-skype-$(VERSION)
37        rm -rf bitlbee-skype-$(VERSION)
38
39release:
40        git tag $(VERSION)
41        $(MAKE) dist
42        gpg --comment "See http://ftp.frugalware.org/pub/README.GPG for info" \
43                -ba -u 20F55619 bitlbee-skype-$(VERSION).tar.gz
44
45doc: HEADER.html Changelog
46
47HEADER.html: README
48        ln -s README HEADER.txt
49        asciidoc -a toc -a numbered -a sectids HEADER.txt
50        rm HEADER.txt
51
52Changelog: .git/refs/heads/master
53        git log --no-merges |git name-rev --tags --stdin >Changelog
Note: See TracBrowser for help on using the repository browser.