]> git.lyx.org Git - lyx.git/blob - Makefile.am
65fcafb648eb2195813c6e7c3c6a9376a97147e5
[lyx.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign 1.4
2 DISTCLEANFILES= *.orig *.rej *~ *.bak core
3 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
4 noinst_LTLIBRARIES = libcontrollers.la
5 BOOST_INCLUDES = -I$(top_srcdir)/boost
6 INCLUDES = -I${top_srcdir}/src/ \
7         -I${top_srcdir}/src/frontends/ \
8         ${SIGC_CFLAGS} $(BOOST_INCLUDES)
9 LIBS =
10 SUBDIRS = 
11 ETAGS_ARGS = --lang=c++
12 libcontrollers_la_SOURCES=\
13         ButtonController.C \
14         ButtonController.h \
15         ButtonPolicies.C \
16         ButtonPolicies.h \
17         ControlBase.C \
18         ControlBase.h \
19         ControlBibitem.C \
20         ControlBibitem.h \
21         ControlBibtex.C \
22         ControlBibtex.h \
23         ControlCitation.C \
24         ControlCitation.h \
25         ControlCommand.C \
26         ControlCommand.h \
27         ControlConnections.C \
28         ControlConnections.h \
29         ControlLog.C \
30         ControlLog.h \
31         ControlVCLog.C \
32         ControlVCLog.h \
33         ViewBase.h
34
35 # just copied from old lyx repository
36 dist-hook:
37         for subdir in $(LYXDATADIRS) ; do \
38         test -d $(distdir)/$$subdir \
39         || mkdir $(distdir)/$$subdir \
40         || exit 1; \
41         chmod 777 $(distdir)/$$subdir; \
42         list=`(cd $(srcdir)/$$subdir && ls -1 | grep -v CVS)`; \
43         echo $$list ; \
44         for fil in $$list ; do \
45         cp -p $(srcdir)/$$subdir/$$fil $(distdir)/$$subdir ; \
46         done ; \
47         done