2000-06-12 11:55:12 +00:00
|
|
|
|
###/* This file is part of
|
|
|
|
|
###* ======================================================
|
|
|
|
|
###*
|
|
|
|
|
###* LyX, the High Level Word Processor
|
|
|
|
|
###*
|
|
|
|
|
###* Copyright 1995 Matthias Ettrich
|
|
|
|
|
###* Copyright 1995-2000 The LyX Team
|
|
|
|
|
###*
|
|
|
|
|
###*======================================================*/
|
|
|
|
|
###
|
|
|
|
|
###
|
2000-09-26 13:54:57 +00:00
|
|
|
|
### Makefile by Lars Gullik Bj<42>nnes (larsbj@lyx.org)
|
2000-06-12 11:55:12 +00:00
|
|
|
|
### Modified by Allan Rae <rae@lyx.org>
|
2000-08-14 05:24:35 +00:00
|
|
|
|
### Rewritten by Angus Leeming.
|
2000-09-26 13:54:57 +00:00
|
|
|
|
### Only update files that really have changed. (Lgb 20000924))
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
.SUFFIXES: .fd .c
|
|
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
|
SRCS := form_bibitem.fd \
|
|
|
|
|
form_bibtex.fd \
|
2001-02-27 12:27:52 +00:00
|
|
|
|
form_character.fd \
|
2001-02-12 14:09:09 +00:00
|
|
|
|
form_citation.fd \
|
2000-07-07 07:46:37 +00:00
|
|
|
|
form_copyright.fd \
|
2001-03-08 12:58:40 +00:00
|
|
|
|
form_credits.fd \
|
2000-08-11 14:42:20 +00:00
|
|
|
|
form_document.fd \
|
2000-09-22 15:09:51 +00:00
|
|
|
|
form_error.fd \
|
2001-03-07 14:25:31 +00:00
|
|
|
|
form_filedialog.fd \
|
2000-08-08 13:55:26 +00:00
|
|
|
|
form_graphics.fd \
|
2001-02-12 14:09:09 +00:00
|
|
|
|
form_include.fd \
|
2000-08-03 12:56:25 +00:00
|
|
|
|
form_index.fd \
|
2001-02-06 17:41:42 +00:00
|
|
|
|
form_browser.fd \
|
2000-09-25 15:59:27 +00:00
|
|
|
|
form_paragraph.fd \
|
2001-02-27 12:27:52 +00:00
|
|
|
|
form_preamble.fd \
|
2000-06-12 11:55:12 +00:00
|
|
|
|
form_preferences.fd \
|
2000-07-11 15:08:54 +00:00
|
|
|
|
form_print.fd \
|
2000-08-08 13:55:26 +00:00
|
|
|
|
form_ref.fd \
|
2001-03-06 10:20:33 +00:00
|
|
|
|
form_search.fd \
|
2001-02-12 14:09:09 +00:00
|
|
|
|
form_splash.fd \
|
2000-07-27 08:55:59 +00:00
|
|
|
|
form_tabular.fd \
|
2000-10-24 13:13:59 +00:00
|
|
|
|
form_tabular_create.fd \
|
2000-08-01 17:33:32 +00:00
|
|
|
|
form_toc.fd \
|
2000-07-27 08:55:59 +00:00
|
|
|
|
form_url.fd
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
OBJS := $(SRCS:.fd=.C)
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
@echo "This is a makefile intended for the maintainer only."
|
|
|
|
|
@echo "Only run it if you are absolutely sure about what you"
|
|
|
|
|
@echo "are doing."
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
test: clean $(OBJS)
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
updatesrc: test
|
2001-01-23 14:16:13 +00:00
|
|
|
|
for fil in *.C *.h; \
|
2001-02-27 12:27:52 +00:00
|
|
|
|
do cmp -s $$fil ../$$fil || mv $$fil ..; \
|
2001-01-23 14:16:13 +00:00
|
|
|
|
done
|
2001-02-27 12:27:52 +00:00
|
|
|
|
rm -f *.[hHcC] *.bak
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
.fd.C:
|
|
|
|
|
${SHELL} ./fdfix.sh $<
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
clean:
|
2001-02-27 12:27:52 +00:00
|
|
|
|
rm -f *.[hHcC] *.bak fdfixc_modified.sed
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
rm -f *.orig *.rej *~
|