source:
skype/Makefile
@
a3262d1e
Last change on this file since a3262d1e was a3262d1e, checked in by , at 2008-01-12T01:41:44Z | |
---|---|
|
|
File size: 1.5 KB |
Rev | Line | |
---|---|---|
[bff265c] | 1 | -include config.mak |
[f06e3ac] | 2 | |
[d1eb24c] | 3 | VERSION = 0.2.6 |
[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 |
[a3262d1e] | 14 | sed -i 's|/etc|$(sysconfdir)|' $(DESTDIR)$(bindir)/skyped |
15 | $(INSTALL) -m644 skyped.conf.dist $(DESTDIR)$(sysconfdir)/skyped.conf | |
[bbf1050] | 16 | |
[dfec37e] | 17 | client: client.c |
18 | ||
[bff265c] | 19 | prepare: configure.ac |
20 | cp /usr/share/automake/install-sh ./ | |
21 | cp /usr/share/aclocal/pkg.m4 aclocal.m4 | |
22 | autoconf | |
23 | ||
[f06e3ac] | 24 | clean: |
25 | rm -f skype.so | |
[0c60f96] | 26 | |
[bff265c] | 27 | distclean: clean |
28 | rm -rf autom4te.cache config.log config.mak config.status | |
29 | rm -f configure install-sh aclocal.m4 | |
30 | ||
[05c1bed] | 31 | dist: |
[1c3f19f] | 32 | git-archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD | tar xf - |
[05c1bed] | 33 | mkdir -p bitlbee-skype-$(VERSION) |
34 | git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog | |
[127966f] | 35 | make -C bitlbee-skype-$(VERSION) prepare |
[1c3f19f] | 36 | tar czf bitlbee-skype-$(VERSION).tar.gz bitlbee-skype-$(VERSION) |
[05c1bed] | 37 | rm -rf bitlbee-skype-$(VERSION) |
38 | ||
39 | release: | |
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 | ||
[e23a46e] | 45 | doc: HEADER.html Changelog |
[d1c9e35] | 46 | |
47 | HEADER.html: README | |
[0c60f96] | 48 | ln -s README HEADER.txt |
[7de5a60] | 49 | asciidoc -a toc -a numbered -a sectids HEADER.txt |
[0c60f96] | 50 | rm HEADER.txt |
[e23a46e] | 51 | |
52 | Changelog: .git/refs/heads/master | |
[7e600c9] | 53 | git log --no-merges |git name-rev --tags --stdin >Changelog |
Note: See TracBrowser
for help on using the repository browser.