Ignore:
Timestamp:
2013-01-01T16:19:09Z (8 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
62a2bf9
Parents:
e1d6b38
Message:

skype: remove unused build system targets, references to git

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/Makefile

    re1d6b38 r757e1e0  
    44endif
    55
    6 VERSION = 0.9.0
    76DATE := $(shell date +%Y-%m-%d)
    8 # latest stable
    9 BITLBEE_VERSION = 3.0.1
    107INSTALL = install
    118ASCIIDOC = yes
     
    1714endif
    1815
    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
     16all: $(MANPAGES)
    5217
    5318clean:
    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)
    6120
    6221# take this from the kernel
     
    6625test: all
    6726        $(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)/Changelog
    73         make -C bitlbee-skype-$(VERSION) autogen
    74         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) dist
    80         gpg --comment "See http://vmiklos.hu/gpg/ for info" \
    81                 -ba bitlbee-skype-$(VERSION).tar.gz
    8227
    8328doc: $(MANPAGES)
     
    9237        rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1*
    9338
    94 HEADER.html: README Makefile
    95         asciidoc -a toc -a numbered -a sectids -o HEADER.html -a icons -a data-uri --attribute iconsdir=./images/icons README
    96         sed -i 's|@VERSION@|$(VERSION)|g' HEADER.html
    97         sed -i 's|@BITLBEE_VERSION@|$(BITLBEE_VERSION)|g' HEADER.html
    98 
    99 Changelog: .git/refs/heads/master
    100         git log --no-merges |git name-rev --tags --stdin >Changelog
    101 
    102 AUTHORS: .git/refs/heads/master
    103         git shortlog -s -n |sed 's/.*\t//'> AUTHORS
    104 
    10539%.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.