1# main Makefile.am for BBDB 2# 3# Copyright (C) 2013 Christian Egli <christian.egli@sbs.ch> 4# Copyright (C) 2013-2017 Roland Winkler <winkler@gnu.org> 5# 6# This file is part of the Insidious Big Brother Database (aka BBDB), 7# 8# BBDB is free software: you can redistribute it and/or modify 9# it under the terms of the GNU General Public License as published by 10# the Free Software Foundation, either version 3 of the License, or 11# (at your option) any later version. 12# 13# BBDB is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17# 18# You should have received a copy of the GNU General Public License 19# along with BBDB. If not, see <http://www.gnu.org/licenses/>. 20 21SUBDIRS = lisp doc tex 22 23doc_DATA = COPYING ChangeLog AUTHORS NEWS README TODO 24 25EXTRA_DIST = autogen.sh 26 27BBDB_ELPA_FILES = README COPYING lisp/*.el doc/*.info doc/dir tex/*.sty 28BBDB_ELPA_PACKAGE = bbdb-$(PACKAGE_VERSION).tar 29 30# doc/dir is needed for the ELPA package 31doc/dir: doc/bbdb.info 32 install-info $< $@ 33 34CLEANFILES = doc/dir 35 36# Package everything in a form suitable for ELPA. 37elpa: $(BBDB_ELPA_FILES) 38 $(AMTAR) --transform='s:\(lisp\|doc\|tex\)/::' \ 39 --transform='s::bbdb-$(PACKAGE_VERSION)/:' \ 40 --exclude=bbdb-loaddefs.el \ 41 -cf $(BBDB_ELPA_PACKAGE) $(BBDB_ELPA_FILES) 42 @echo "Created $(BBDB_ELPA_PACKAGE)" 43