summaryrefslogtreecommitdiff
path: root/biblio/bibtex/utils/mkbib/Makefile.am
blob: b4cf49ae355947e793462e628004e4eed1ff2ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright (C) 2012 Rudra Banerjee*/
#
#
#    This file is part of mkBIB.
#
#    mkBIB is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    mkBIB is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with mkBIB.  If not, see <http://www.gnu.org/licenses/>.
#
#
BUILT_SOURCES = src/bib.h
AM_YFLAGS = -d 
AM_LFLAGS = -i
# desktop file
# (we can't use INTLTOOL_DESKTOP_RULE here due to lp#605826)
%.desktop: %.desktop.in
#	$(MKDIR_P) $(dir $@); LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
applicationsdir = $(datadir)/applications
applications_DATA = data/mkbib.desktop
dist_noinst_DATA = data/mkbib.desktop.in

# gsettings
#gsettings_SCHEMAS = data/org.mkbib.gschema.xml
##@INTLTOOL_XML_NOMERGE_RULE@
##@GSETTINGS_RULES@

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS= data help po
pixmapdir=$(datadir)/images
pixmap_DATA = \
	      images/mkbib.png \
	      images/mkbib.svg \
	      images/icon.png  \
	      images/icon.svg
AM_CFLAGS =  @GTK_CFLAGS@ @LIBSOUP_CFLAGS@
AM_CPPFLAGS= -DPIXMAP=\"$(datadir)/images\"
bin_PROGRAMS = mkbib
mkbib_SOURCES = \ 
                src/bib.y src/scan.l src/caution.c src/search.c \
		src/help.c  src/mkbib.c  src/update_file.c \
		src/biblst src/main.h src/view.c src/file_util.c

mkbib_LDADD = @GTK_LIBS@ @LIBSOUP_LIBS@ @LEXLIB@
EXTRA_DIST=$(pixmap_DATA) m4 autogen.sh
CLEANFILES = src/bib.c src/bib.h *~
#DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc