1 ###/* This file is part of
2 ###* ======================================================
4 ###* LyX, the High Level Word Processor
6 ###* Copyright 1995 Matthias Ettrich
7 ###* Copyright 1995-2000 The LyX Team
9 ###*======================================================*/
12 ### Makefile by Lars Gullik Bjønnes (larsbj@ifi.uio.no)
13 ### Modified by Allan Rae <rae@lyx.org>
22 SRCS := form_citation.fd \
34 OBJS := $(SRCS:.fd=.c)
36 COBJS := $(SRCS:.fd=.C)
39 @echo "This is a makefile intended for the maintainer only."
40 @echo "Only run it if you are absolutely sure about what you"
48 # Modify the header files using the instructions in fdfixh.sed
50 for hfil in *.h ; do \
51 if [ -f "$$hfil.patch" ] ; then \
52 (echo "Patching $$hfil with $$hfil.patch" ; \
53 patch -s $$hfil < $$hfil.patch) \
55 sed -f fdfixh.sed < $$hfil > $$hfil.tmp; \
56 mv $$hfil.tmp $$hfil; \
62 $(FDESIGN) -convert $<
65 ${SHELL} ./fdfix.sh $< $@
74 install: clean updatesrc