From: "Jérôme Marant" <jerome.marant@free.fr>
Subject: [PATCH] make-dist fixes and clean-ups
Date: Sat, 30 Apr 2005 11:55:38 +0200 [thread overview]
Message-ID: <871x8sd1wl.fsf@marant.org> (raw)
Hi,
I've created a script which automatically builds Debian packages from
a distribution tarball generated from make-dist.
I think it is going further than just bootstraping from a CVS
checkout.
Hence, I had to make the following changes to make-dist.
Cheers,
--- ChangeLog.orig 2005-04-29 22:07:02.000000000 +0200
+++ ChangeLog 2005-04-30 10:37:44.206768056 +0200
@@ -1,3 +1,10 @@
+2005-04-29 Jérôme Marant <jerome@marant.org>
+
+ * make-dist: Remove any reference to makefile.nt and
+ makefile.def.
+ Properly install etc subdirectories.
+ Do not remove ldefs-boot.el.
+
2005-04-23 Andreas Schwab <schwab@suse.de>
* configure.in: Remove duplicate match for powerpc configuration.
--- make-dist.orig 2005-04-29 21:59:44.000000000 +0200
+++ make-dist 2005-04-30 10:37:52.198553120 +0200
@@ -321,7 +321,9 @@
leim/SKK-DIC leim/ja-dic leim/quail \
src src/m src/s src/bitmaps lib-src oldXMenu lwlib \
nt nt/inc nt/inc/sys nt/inc/arpa nt/inc/netinet nt/icons \
- etc etc/e info man msdos vms mac mac/inc mac/inc/sys \
+ etc etc/e etc/images etc/images/gnus etc/images/smilies \
+ etc/tree-widget etc/tree-widget/default etc/tree-widget/folder \
+ info man msdos vms mac mac/inc mac/inc/sys \
mac/src mac/Emacs.app mac/Emacs.app/Contents \
mac/Emacs.app/Contents/MacOS mac/Emacs.app/Contents/Resources \
mac/Emacs.app/Contents/Resources/English.lproj
@@ -349,7 +351,6 @@
test -f README && ln README ../${tempdir}/lisp
(cd ../${tempdir}/lisp
rm -f TAGS =*
- rm -f ldefs-boot.el
rm -f site-init site-init.el site-init.elc
rm -f site-load site-load.el site-load.elc
rm -f site-start site-start.el site-start.elc
@@ -396,7 +397,7 @@
echo "Making links to \`leim' and its subdirectories"
### Don't distribute TAGS, or =*.el files.
(cd leim
- ln makefile.nt makefile.w32-in ../${tempdir}/leim
+ ln makefile.w32-in ../${tempdir}/leim
ln ChangeLog README ../${tempdir}/leim
ln CXTERM-DIC/*.tit ../${tempdir}/leim/CXTERM-DIC
@@ -443,7 +444,7 @@
fi
done
ln README ChangeLog ChangeLog.*[0-9] ../${tempdir}/src
- ln makefile.nt makefile.w32-in ../${tempdir}/src
+ ln makefile.w32-in ../${tempdir}/src
ln .gdbinit .dbxinit ../${tempdir}/src
cd ../${tempdir}/src
rm -f config.h epaths.h Makefile Makefile.c
@@ -466,7 +467,7 @@
(cd lib-src
ln [a-zA-Z]*.[chy] ../${tempdir}/lib-src
ln ChangeLog Makefile.in README testfile vcdiff ../${tempdir}/lib-src
- ln grep-changelog rcs2log rcs-checkin makefile.nt ../${tempdir}/lib-src
+ ln grep-changelog rcs2log rcs-checkin ../${tempdir}/lib-src
ln makefile.w32-in ../${tempdir}/lib-src
## If we ended up with a symlink, or if we did not get anything
## due to a cross-device symlink, copy the file.
@@ -492,7 +493,7 @@
(cd nt
ln emacs.rc config.nt [a-z]*.c ../${tempdir}/nt
ln nmake.defs gmake.defs subdirs.el ../${tempdir}/nt
- ln [a-z]*.bat [a-z]*.h makefile.def makefile.nt ../${tempdir}/nt
+ ln [a-z]*.bat [a-z]*.h ../${tempdir}/nt
ln ChangeLog INSTALL README makefile.w32-in ../${tempdir}/nt)
echo "Making links to \`nt/inc'"
@@ -563,7 +564,8 @@
### tex litter.
### Don't distribute gfdl.1, since no man page references it.
(cd etc
- files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$'`
+ files=`ls -d * | grep -v CVS | grep -v RCS | grep -v 'Old' | grep -v '^e$' \
+ | grep -v '^images$' | grep -v '^tree-widget$'`
ln $files ../${tempdir}/etc
## If we ended up with a symlink, or if we did not get anything
## due to a cross-device symlink, copy the file.
@@ -592,6 +594,15 @@
cd ../../${tempdir}/etc/e
rm -f *~ \#*\# *,v =* core)
+for dir in etc/images/gnus etc/images/smilies \
+ etc/tree-widget/default etc/tree-widget/folder ; do
+ echo "Making links to \`${dir}'"
+ (cd ${dir}
+ ln `ls -d * | grep -v CVS | grep -v RCS` ../../../${tempdir}/${dir}
+ cd ../../../${tempdir}/${dir}
+ rm -f *~ \#*\# *,v =* core)
+done
+
echo "Making links to \`info'"
# Don't distribute backups or autosaves.
(cd info
--
Jérôme Marant
next reply other threads:[~2005-04-30 9:55 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-30 9:55 Jérôme Marant [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-30 11:04 [PATCH] make-dist fixes and clean-ups Jérôme Marant
2005-05-01 12:06 ` Lute Kamstra
2005-05-01 12:18 ` Jérôme Marant
2005-05-01 15:12 ` Stefan Monnier
2005-05-01 17:10 ` Jérôme Marant
2005-05-01 19:58 ` Kim F. Storm
2005-05-01 20:19 ` Jérôme Marant
2005-05-01 22:35 ` Thien-Thi Nguyen
2005-05-02 7:32 ` Jérôme Marant
2005-05-02 22:33 ` Thien-Thi Nguyen
2005-05-02 23:41 ` Richard Stallman
2005-05-02 9:59 ` Kim F. Storm
2005-05-02 11:54 ` Jérôme Marant
2005-05-01 23:39 ` Richard Stallman
2005-05-02 6:51 ` Jérôme Marant
2005-05-09 12:19 ` Lute Kamstra
2005-05-09 22:57 ` Jérôme Marant
2005-05-10 8:15 ` Lute Kamstra
2005-05-10 9:42 ` Jérôme Marant
2005-05-10 9:04 ` Richard Stallman
2005-05-10 15:11 ` Lute Kamstra
2005-05-11 16:27 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871x8sd1wl.fsf@marant.org \
--to=jerome.marant@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).