Changeset 62a2bf9 for protocols/skype/Makefile
- Timestamp:
- 2013-01-05T13:47:56Z (12 years ago)
- Branches:
- master
- Children:
- cfbecc9
- Parents:
- e6298e5 (diff), 757e1e0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/Makefile
re6298e5 r62a2bf9 4 4 endif 5 5 6 VERSION = 0.9.07 6 DATE := $(shell date +%Y-%m-%d) 8 # latest stable9 BITLBEE_VERSION = 3.0.110 7 INSTALL = install 11 8 ASCIIDOC = yes … … 17 14 endif 18 15 19 ifeq ($(BITLBEE),yes) 20 LIBS = skype.$(SHARED_EXT) 21 else 22 LIBS = 23 endif 24 25 all: $(LIBS) $(MANPAGES) 26 27 skype.$(SHARED_EXT): $(_SRCDIR_)skype.c config.mak 28 ifeq ($(BITLBEE),yes) 29 $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) $(_SRCDIR_)skype.c $(LDFLAGS) 30 endif 31 32 install: all install-doc 33 ifeq ($(BITLBEE),yes) 34 $(INSTALL) -d $(DESTDIR)$(plugindir) 35 $(INSTALL) skype.$(SHARED_EXT) $(DESTDIR)$(plugindir) 36 endif 37 ifeq ($(SKYPE4PY),yes) 38 $(INSTALL) -d $(DESTDIR)$(bindir) 39 $(INSTALL) -d $(DESTDIR)$(sysconfdir) 40 $(INSTALL) skyped.py $(DESTDIR)$(bindir)/skyped 41 perl -p -i -e 's|/usr/local/etc/skyped|$(sysconfdir)|' $(DESTDIR)$(bindir)/skyped 42 $(INSTALL) -m644 skyped.conf.dist $(DESTDIR)$(sysconfdir)/skyped.conf 43 perl -p -i -e 's|\$${prefix}|$(prefix)|' $(DESTDIR)$(sysconfdir)/skyped.conf 44 $(INSTALL) -m644 skyped.cnf $(DESTDIR)$(sysconfdir) 45 endif 46 47 client: $(_SRCDIR_)client.c 48 49 autogen: configure.ac 50 cp $(shell ls /usr/share/automake-*/install-sh | tail -n1) ./ 51 autoconf 16 all: $(MANPAGES) 52 17 53 18 clean: 54 rm -f $(LIBS) $(MANPAGES) 55 56 distclean: clean 57 rm -f config.log config.mak config.status $(MANPAGES) 58 59 autoclean: distclean 60 rm -rf aclocal.m4 autom4te.cache configure install-sh 19 rm -f $(MANPAGES) 61 20 62 21 # take this from the kernel 63 22 check: 64 perl checkpatch.pl -- no-tree --file skype.c23 perl checkpatch.pl --show-types --ignore LONG_LINE,CAMELCASE --no-tree --file skype.c 65 24 66 25 test: all 67 26 $(MAKE) -C t/ all 68 69 dist:70 git archive --format=tar --prefix=bitlbee-skype-$(VERSION)/ HEAD | tar xf -71 mkdir -p bitlbee-skype-$(VERSION)72 git log --no-merges |git name-rev --tags --stdin > bitlbee-skype-$(VERSION)/Changelog73 make -C bitlbee-skype-$(VERSION) autogen74 tar czf bitlbee-skype-$(VERSION).tar.gz bitlbee-skype-$(VERSION)75 rm -rf bitlbee-skype-$(VERSION)76 77 release:78 git tag $(VERSION)79 $(MAKE) dist80 gpg --comment "See http://vmiklos.hu/gpg/ for info" \81 -ba bitlbee-skype-$(VERSION).tar.gz82 27 83 28 doc: $(MANPAGES) … … 92 37 rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1* 93 38 94 HEADER.html: README Makefile95 asciidoc -a toc -a numbered -a sectids -o HEADER.html -a icons -a data-uri --attribute iconsdir=./images/icons README96 sed -i 's|@VERSION@|$(VERSION)|g' HEADER.html97 sed -i 's|@BITLBEE_VERSION@|$(BITLBEE_VERSION)|g' HEADER.html98 99 Changelog: .git/refs/heads/master100 git log --no-merges |git name-rev --tags --stdin >Changelog101 102 AUTHORS: .git/refs/heads/master103 git shortlog -s -n |sed 's/.*\t//'> AUTHORS104 105 39 %.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf 106 a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" \ 107 -a bs_version=$(VERSION) -a bs_date=$(DATE) -f manpage -D . $< 40 a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" -a bee_date=$(DATE) -f manpage -D . $<
Note: See TracChangeset
for help on using the changeset viewer.