Further cleanup some Makefiles a bit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8811 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2004-06-09 13:14:36 +00:00
parent 8b60b23552
commit 5af062b550
6 changed files with 82 additions and 40 deletions

View File

@ -1,3 +1,8 @@
2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
annotations to clean up the Makefile slightly.
2004-06-01 Lars Gullik Bjonnes <larsbj@gullik.net> 2004-06-01 Lars Gullik Bjonnes <larsbj@gullik.net>
* configure.ac (AC_CONFIG_FILES): add lib/doc/Makefile * configure.ac (AC_CONFIG_FILES): add lib/doc/Makefile

View File

@ -15,7 +15,7 @@ SUBDIRS = m4 config development intl po src sourcedoc lib
endif endif
EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \ EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
UPGRADING lyx.man autogen.sh images UPGRADING lyx.man autogen.sh
# Hack so that the targets that use tar will also work with automake 1.4 # Hack so that the targets that use tar will also work with automake 1.4
AMTAR ?= $(TAR) AMTAR ?= $(TAR)
@ -26,15 +26,44 @@ man_MANS = lyx.1
bindistdir=$(PWD)/lyxbin bindistdir=$(PWD)/lyxbin
bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
dist_noinst_DATA = \
images/ChangeLog \
images/README \
images/ams_arrows.xbm \
images/ams_misc.xbm \
images/ams_nrel.xbm \
images/ams_ops.xbm \
images/ams_rel.xbm \
images/arrows.xbm \
images/bop.xbm \
images/brel.xbm \
images/deco.xbm \
images/deco.xpm \
images/delim.xbm \
images/delim.xpm \
images/delim0.xpm \
images/delim1.xpm \
images/dots.xbm \
images/equation.xpm \
images/font.xbm \
images/frac.xpm \
images/greek.xbm \
images/matrix.xpm \
images/misc.xbm \
images/smallcaps.xpm \
images/space.xpm \
images/sqrt.xpm \
images/style.xbm \
images/style.xpm \
images/sub.xpm \
images/super.xpm \
images/varsz.xbm
lyx.1: lyx.1:
cp -p $(srcdir)/lyx.man lyx.1 cp -p $(srcdir)/lyx.man lyx.1
dist-hook:
cd $(distdir) ; \
rm -rf `find images -name \*CVS\*`
rpmdist: dist rpmdist: dist
ln -s $(srcdir)/lib/images/lyx.xpm . ; \ $(LN_S) $(srcdir)/lib/images/lyx.xpm . ; \
if [ -z "`type -path rpmbuild`" ]; \ if [ -z "`type -path rpmbuild`" ]; \
then \ then \
RPMBUILD=rpm; \ RPMBUILD=rpm; \

View File

@ -1,3 +1,8 @@
2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (dist_*): Use the dist annotation to clean up the
Makefile slightly.
2004-06-02 Lars Gullik Bjonnes <larsbj@gullik.net> 2004-06-02 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (EXTRA_DIST): fix and cleanup, make sure * Makefile.am (EXTRA_DIST): fix and cleanup, make sure

View File

@ -6,33 +6,18 @@ SUBDIRS = doc reLyX
EXTRA_DIST = \ EXTRA_DIST = \
configure.m4 \ configure.m4 \
chkconfig.ltx \ chkconfig.ltx
$(pkgdata_DATA) \
$(pkgdata_SCRIPTS) \
$(bind_DATA) \
$(clipart_DATA) \
$(examples_DATA) \
$(images_DATA) \
$(imagesmath_DATA) \
$(kbd_DATA) \
$(layouts_DATA) \
$(lyx2lyx_DATA) \
$(lyx2lyx_SCRIPTS) \
$(scripts_SCRIPTS) \
$(templates_DATA) \
$(tex_DATA) \
$(ui_DATA)
CHMOD = chmod CHMOD = chmod
pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \ dist_pkgdata_DATA = lyxrc.example CREDITS chkconfig.ltx lyxrc.defaults \
textclass.lst packages.lst external_templates \ textclass.lst packages.lst external_templates \
encodings languages symbols encodings languages symbols
pkgdata_SCRIPTS = configure configure.cmd dist_pkgdata_SCRIPTS = configure configure.cmd
binddir = $(pkgdatadir)/bind binddir = $(pkgdatadir)/bind
bind_DATA = \ dist_bind_DATA = \
bind/broadway.bind \ bind/broadway.bind \
bind/cua.bind \ bind/cua.bind \
bind/cyrkeys.bind \ bind/cyrkeys.bind \
@ -51,10 +36,10 @@ bind_DATA = \
bind/aqua.bind bind/aqua.bind
clipartdir = $(pkgdatadir)/clipart clipartdir = $(pkgdatadir)/clipart
clipart_DATA = clipart/platypus.eps dist_clipart_DATA = clipart/platypus.eps
examplesdir = $(pkgdatadir)/examples examplesdir = $(pkgdatadir)/examples
examples_DATA = \ dist_examples_DATA = \
examples/Foils.lyx \ examples/Foils.lyx \
examples/ItemizeBullets.lyx \ examples/ItemizeBullets.lyx \
examples/Literate.lyx \ examples/Literate.lyx \
@ -126,7 +111,7 @@ examples_DATA = \
examples/ro_splash.lyx examples/ro_splash.lyx
imagesdir = $(pkgdatadir)/images imagesdir = $(pkgdatadir)/images
images_DATA = \ dist_images_DATA = \
images/amssymb.xpm \ images/amssymb.xpm \
images/banner.ppm \ images/banner.ppm \
images/bookmark-goto.xpm \ images/bookmark-goto.xpm \
@ -227,7 +212,7 @@ images_DATA = \
images/url-insert.xpm images/url-insert.xpm
imagesmathdir = $(imagesdir)/math imagesmathdir = $(imagesdir)/math
imagesmath_DATA = \ dist_imagesmath_DATA = \
images/math/Bbbk.xpm \ images/math/Bbbk.xpm \
images/math/Finv.xpm \ images/math/Finv.xpm \
images/math/Game.xpm \ images/math/Game.xpm \
@ -682,7 +667,7 @@ imagesmath_DATA = \
images/math/zeta.xpm images/math/zeta.xpm
kbddir = $(pkgdatadir)/kbd kbddir = $(pkgdatadir)/kbd
kbd_DATA = \ dist_kbd_DATA = \
kbd/american-2.kmap \ kbd/american-2.kmap \
kbd/american.kmap \ kbd/american.kmap \
kbd/arabic.kmap \ kbd/arabic.kmap \
@ -737,7 +722,7 @@ kbd_DATA = \
kbd/espanol.kmap kbd/espanol.kmap
layoutsdir = $(pkgdatadir)/layouts layoutsdir = $(pkgdatadir)/layouts
layouts_DATA =\ dist_layouts_DATA =\
layouts/IEEEtran.layout \ layouts/IEEEtran.layout \
layouts/aa.layout \ layouts/aa.layout \
layouts/aapaper.inc \ layouts/aapaper.inc \
@ -848,8 +833,8 @@ layouts_DATA =\
layouts/svglobal.layout layouts/svglobal.layout
lyx2lyxdir = $(pkgdatadir)/lyx2lyx lyx2lyxdir = $(pkgdatadir)/lyx2lyx
lyx2lyx_SCRIPTS = lyx2lyx/lyx2lyx dist_lyx2lyx_SCRIPTS = lyx2lyx/lyx2lyx
lyx2lyx_DATA = \ dist_lyx2lyx_DATA = \
lyx2lyx/lyx2lyx \ lyx2lyx/lyx2lyx \
lyx2lyx/parser_tools.py \ lyx2lyx/parser_tools.py \
lyx2lyx/lyx_0_12.py \ lyx2lyx/lyx_0_12.py \
@ -864,7 +849,7 @@ lyx2lyx_DATA = \
lyx2lyx/lyx_1_4.py lyx2lyx/lyx_1_4.py
scriptsdir = $(pkgdatadir)/scripts scriptsdir = $(pkgdatadir)/scripts
scripts_SCRIPTS = \ dist_scripts_SCRIPTS = \
scripts/TeXFiles.sh \ scripts/TeXFiles.sh \
scripts/convertDefault.sh \ scripts/convertDefault.sh \
scripts/fen2ascii.py \ scripts/fen2ascii.py \
@ -875,7 +860,7 @@ scripts_SCRIPTS = \
scripts/lyxpreview2bitmap.py scripts/lyxpreview2bitmap.py
templatesdir = $(pkgdatadir)/templates templatesdir = $(pkgdatadir)/templates
templates_DATA = \ dist_templates_DATA = \
templates/IEEEtran.lyx \ templates/IEEEtran.lyx \
templates/README.new_templates \ templates/README.new_templates \
templates/aa.lyx \ templates/aa.lyx \
@ -898,7 +883,7 @@ templates_DATA = \
templates/agu_article.lyx templates/agu_article.lyx
texdir = $(pkgdatadir)/tex texdir = $(pkgdatadir)/tex
tex_DATA = \ dist_tex_DATA = \
tex/broadway.cls \ tex/broadway.cls \
tex/cv.cls \ tex/cv.cls \
tex/hollywood.cls \ tex/hollywood.cls \
@ -907,7 +892,7 @@ tex_DATA = \
tex/revtex.cls tex/revtex.cls
uidir = $(pkgdatadir)/ui uidir = $(pkgdatadir)/ui
ui_DATA = \ dist_ui_DATA = \
ui/classic.ui \ ui/classic.ui \
ui/default.ui \ ui/default.ui \
ui/stdmenus.ui \ ui/stdmenus.ui \

View File

@ -1,3 +1,8 @@
2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
annotations to cleanup the Makefile slightly.
2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxrc.C: do not set user_email to a default value but use empty * lyxrc.C: do not set user_email to a default value but use empty

View File

@ -6,7 +6,7 @@ MAINTAINERCLEANFILES += $(srcdir)/config.h.in
SUBDIRS = mathed insets graphics support frontends tex2lyx SUBDIRS = mathed insets graphics support frontends tex2lyx
EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \ EXTRA_DIST = config.h.in stamp-h.in version.C.in \
Sectioning.h \ Sectioning.h \
Sectioning.C \ Sectioning.C \
Variables.C \ Variables.C \
@ -280,8 +280,21 @@ lyx_SOURCES = \
vspace.C \ vspace.C \
vspace.h vspace.h
dist-hook: dist_noinst_DATA = \
cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*` cheaders/ChangeLog \
cheaders/cassert \
cheaders/cctype \
cheaders/cerrno \
cheaders/climits \
cheaders/clocale \
cheaders/cmath \
cheaders/csignal \
cheaders/cstdarg \
cheaders/cstddef \
cheaders/cstdio \
cheaders/cstdlib \
cheaders/cstring \
cheaders/ctime
version.C: stamp-version version.C: stamp-version
@: @: