Rev | Line | |
---|
[bff265c] | 1 | -include config.mak |
---|
[f06e3ac] | 2 | |
---|
[05c1bed] | 3 | VERSION = 0.1.0 |
---|
| 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) |
---|
[2fcad6e] | 10 | $(INSTALL) -d $(DESTDIR)$(sbindir) |
---|
[bbf1050] | 11 | $(INSTALL) skype.so $(DESTDIR)$(plugindir) |
---|
[2fcad6e] | 12 | $(INSTALL) skyped.py $(DESTDIR)$(sbindir)/skyped |
---|
[bbf1050] | 13 | |
---|
[dfec37e] | 14 | client: client.c |
---|
| 15 | |
---|
[bff265c] | 16 | prepare: configure.ac |
---|
| 17 | cp /usr/share/automake/install-sh ./ |
---|
| 18 | cp /usr/share/aclocal/pkg.m4 aclocal.m4 |
---|
| 19 | autoconf |
---|
| 20 | |
---|
[f06e3ac] | 21 | clean: |
---|
| 22 | rm -f skype.so |
---|
[0c60f96] | 23 | |
---|
[bff265c] | 24 | distclean: clean |
---|
| 25 | rm -rf autom4te.cache config.log config.mak config.status |
---|
| 26 | rm -f configure install-sh aclocal.m4 |
---|
| 27 | |
---|
[05c1bed] | 28 | dist: |
---|
| 29 | git-archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD > bitlbee-skype-$(VERSION).tar |
---|
| 30 | mkdir -p bitlbee-skype-$(VERSION) |
---|
| 31 | git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog |
---|
| 32 | tar rf bitlbee-skype-$(VERSION).tar bitlbee-skype-$(VERSION)/Changelog |
---|
| 33 | rm -rf bitlbee-skype-$(VERSION) |
---|
| 34 | gzip -f -9 bitlbee-skype-$(VERSION).tar |
---|
| 35 | |
---|
| 36 | release: |
---|
| 37 | git tag $(VERSION) |
---|
| 38 | $(MAKE) dist |
---|
| 39 | gpg --comment "See http://ftp.frugalware.org/pub/README.GPG for info" \ |
---|
| 40 | -ba -u 20F55619 bitlbee-skype-$(VERSION).tar.gz |
---|
| 41 | mv bitlbee-skype-$(VERSION).tar.gz{,.asc} ../ |
---|
| 42 | |
---|
[e23a46e] | 43 | doc: HEADER.html Changelog |
---|
[d1c9e35] | 44 | |
---|
| 45 | HEADER.html: README |
---|
[0c60f96] | 46 | ln -s README HEADER.txt |
---|
| 47 | asciidoc -a toc -a numbered HEADER.txt |
---|
| 48 | rm HEADER.txt |
---|
[e23a46e] | 49 | |
---|
| 50 | Changelog: .git/refs/heads/master |
---|
| 51 | git log --no-merges > Changelog |
---|
Note: See
TracBrowser
for help on using the repository browser.