[bff265c] | 1 | -include config.mak |
---|
[f06e3ac] | 2 | |
---|
[b2fa16b] | 3 | VERSION = 0.3.0 |
---|
[05c1bed] | 4 | |
---|
[bbf1050] | 5 | skype.so: skype.c config.mak |
---|
[bff265c] | 6 | $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS) |
---|
[f06e3ac] | 7 | |
---|
[2fcad6e] | 8 | install: 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] | 18 | client: client.c |
---|
| 19 | |
---|
[bff265c] | 20 | prepare: configure.ac |
---|
| 21 | cp /usr/share/automake/install-sh ./ |
---|
| 22 | cp /usr/share/aclocal/pkg.m4 aclocal.m4 |
---|
| 23 | autoconf |
---|
| 24 | |
---|
[f06e3ac] | 25 | clean: |
---|
| 26 | rm -f skype.so |
---|
[0c60f96] | 27 | |
---|
[bff265c] | 28 | distclean: clean |
---|
| 29 | rm -rf autom4te.cache config.log config.mak config.status |
---|
| 30 | rm -f configure install-sh aclocal.m4 |
---|
| 31 | |
---|
[05c1bed] | 32 | dist: |
---|
[68796a1] | 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 | |
---|
| 40 | release: |
---|
| 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] | 46 | doc: HEADER.html Changelog |
---|
[d1c9e35] | 47 | |
---|
| 48 | HEADER.html: README |
---|
[0c60f96] | 49 | ln -s README HEADER.txt |
---|
[7de5a60] | 50 | asciidoc -a toc -a numbered -a sectids HEADER.txt |
---|
[3b495c0] | 51 | sed -i 's|@VERSION@|$(VERSION)|g' HEADER.html |
---|
[0c60f96] | 52 | rm HEADER.txt |
---|
[e23a46e] | 53 | |
---|
| 54 | Changelog: .git/refs/heads/master |
---|
[7e600c9] | 55 | git log --no-merges |git name-rev --tags --stdin >Changelog |
---|