Merge lp:~xma/records/384430 into lp:records/1.5

Proposed by Xavier Maillard
Status: Merged
Merged at revision: not available
Proposed branch: lp:~xma/records/384430
Merge into: lp:records/1.5
Diff against target: None lines
To merge this branch: bzr merge lp:~xma/records/384430
Reviewer Review Type Date Requested Status
records bug fix Pending
Review via email: mp+7156@code.launchpad.net

Commit message

Fix bug lp:384430

To post a comment you must log in.
Revision history for this message
Xavier Maillard (xma) wrote :

This branch is fixing bug 384430.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2009-06-05 23:02:42 +0000
3+++ ChangeLog 2009-06-07 09:26:10 +0000
4@@ -1,3 +1,19 @@
5+2009-06-07 Xavier Maillard <xma@gnu.org>
6+
7+ * debian/control: update conflict fields.
8+
9+ * debian/changelog: bump version.
10+
11+ * debian/: new directory. Contains the required file to build a
12+ Debian package. This is a copy&paste of what was available when
13+ records was available in the Debian repositories. (fix
14+ Bug:384430).
15+
16+ * debian/rules: since lisp source files are now in src/ and the
17+ documentation in doc/, update all install rules. Add targets to
18+ build info and ps files. Distribute *all* files (even zero sized
19+ one).
20+
21 2009-06-06 Xavier Maillard <xma@gnu.org>
22
23 Verion 1.5.1 released.
24
25=== added directory 'debian'
26=== added file 'debian/README.Debian'
27--- debian/README.Debian 1970-01-01 00:00:00 +0000
28+++ debian/README.Debian 2009-06-07 07:47:51 +0000
29@@ -0,0 +1,17 @@
30+Emacs records-mode for Debian
31+-----------------------------
32+
33+To start using records-mode, run recordsadmin -i
34+
35+If you want, you can add the following to your .emacs:
36+
37+; If you like abbrev mode
38+(add-hook 'records-mode-hooks
39+ (function
40+ (lambda ()
41+ (abbrev-mode 1))))
42+
43+; If you want to be brought to today's record on startup
44+(records-goto-today)
45+
46+Tommi Virtanen <tv@debian.org>, Thu, 3 Dec 1998 14:37:11 +0200
47
48=== added file 'debian/changelog'
49--- debian/changelog 1970-01-01 00:00:00 +0000
50+++ debian/changelog 2009-06-07 09:26:10 +0000
51@@ -0,0 +1,124 @@
52+records (1.5.1-1.0) unstable; urgency=low
53+
54+ * Non-maintainer upload.
55+
56+ * New upstream version.
57+
58+ * Upstream moved to SourceForge.
59+
60+ * rules: lisp source files are now in src/ and the documentation in
61+ doc/. Ack. Added targets to build info and ps files.
62+ Distribute *all* files (even zero sized one).
63+
64+ -- Xavier Maillard <xma@gnu.org> Sun, 08 Jun 2009 11:04:15 +0100
65+
66+records (1.4.9-4.1) unstable; urgency=low
67+
68+ * Non-maintainer upload.
69+ * records-common: Get rid of the /usr/doc link in postinst
70+ (Closes: #359563).
71+ * records-gnuemacs: Get rid of the /usr/doc link in postinst
72+ (Closes: #359570).
73+ * records-xemacs: Get rid of the /usr/doc link in postinst
74+ (Closes: #359573).
75+
76+ -- Amaya Rodrigo Sastre <amaya@debian.org> Mon, 17 Jul 2006 20:53:25 +0200
77+
78+records (1.4.9-4) unstable; urgency=low
79+
80+ * Mention records-search.el in emacs install and remove scripts. This
81+ makes M-x records-search work for me (Closes: #153876).
82+ * Remove support for emacs20 and mule2, they have been removed from
83+ Debian (Closes: #232784).
84+ * Install info file to info directory (Closes: #178592).
85+ * Different long descriptions for common/gnuemacs/xemacs (Closes:
86+ #135921).
87+ * Policy update: 3.5.6 -> 3.6.1: no longer link to undocumented(7)
88+
89+ -- Tommi Virtanen <tv@debian.org> Sat, 7 Aug 2004 22:48:34 +0300
90+
91+records (1.4.9-3) unstable; urgency=low
92+
93+ * debian/README.Debian: Typo.
94+ * debian/control: Change section to editors, as it is in the overrides.
95+ * debian/emacsen-remove: Clean up the .elc files (Closes: #122605).
96+
97+ -- Tommi Virtanen <tv@debian.org> Sat, 5 Jan 2002 15:37:51 +0200
98+
99+records (1.4.9-2) unstable; urgency=low
100+
101+ * Split the package into two to work around the emacs mailcrypt issues.
102+ Closes: #84789.
103+ * Updated Standards-Version.
104+
105+ -- Tommi Virtanen <tv@debian.org> Fri, 9 Nov 2001 21:45:34 +0200
106+
107+records (1.4.9-1) unstable; urgency=low
108+
109+ * New upstream version.
110+ * Include records.ps in the package.
111+ * Depend on emacs20 | emacsen, need a real package there first.
112+ * Get rid of dh_suidregister.
113+ * Install records-templ.tex into examples.
114+ * Upstream moved to SourceForge.
115+
116+ -- Tommi Virtanen <tv@debian.org> Mon, 16 Apr 2001 01:02:20 +0300
117+
118+records (1.4.8-1) unstable; urgency=low
119+
120+ * New upstream version.
121+
122+ -- Tommi Virtanen <tv@debian.org> Sun, 16 Apr 2000 17:56:49 +0300
123+
124+records (1.4.3-2) unstable; urgency=low
125+
126+ * Added dependency to mailcrypt|xemacs20|xemacs21 (XEmacs has
127+ mailcrypt bundled). (Closes: #49560, #60133, #61237).
128+ * Upgrade to policy 3.1.1, added Build-Depends
129+ * New upstream coming soon, but as a separate upload.
130+
131+ -- Tommi Virtanen <tv@debian.org> Sun, 16 Apr 2000 17:03:50 +0300
132+
133+records (1.4.3-1) unstable; urgency=low
134+
135+ * New upstream source.
136+ * Added upstream NEWS as changelog.
137+ * FHS.
138+ * Updated to policy 3.0.0
139+ * Moved the build stuff to binary-indep
140+ * Actually use dh_installemacsen (Closes: #36334)
141+
142+ -- Tommi Virtanen <tv@debian.org> Sat, 6 Nov 1999 15:27:54 +0200
143+
144+records (1.3-2) unstable; urgency=low
145+
146+ * Depend on perl5 instead of perl
147+
148+ -- Tommi Virtanen <tv@debian.org> Thu, 1 Jul 1999 23:36:42 +0300
149+
150+records (1.3-1) unstable; urgency=low
151+
152+ * New upstream source
153+ * Remove recordsadmin on debian/rules clean
154+
155+ -- Tommi Virtanen <tv@debian.org> Sun, 30 May 1999 22:17:10 +0300
156+
157+records (1.2-3) unstable; urgency=low
158+
159+ * Remembered to fill in debian/copyright.
160+
161+ -- Tommi Virtanen <tv@debian.org> Mon, 25 Jan 1999 01:53:39 +0200
162+
163+records (1.2-2) unstable; urgency=low
164+
165+ * Made it Architecture: all
166+
167+ -- Tommi Virtanen <tv@debian.org> Sun, 17 Jan 1999 22:01:21 +0200
168+
169+records (1.2-1) unstable; urgency=low
170+
171+ * Initial Release.
172+
173+ -- Tommi Virtanen <tv@debian.org> Thu, 3 Dec 1998 14:37:11 +0200
174+
175+
176
177=== added file 'debian/control'
178--- debian/control 1970-01-01 00:00:00 +0000
179+++ debian/control 2009-06-07 09:26:10 +0000
180@@ -0,0 +1,44 @@
181+Source: records
182+Section: editors
183+Priority: optional
184+Maintainer: Tommi Virtanen <tv@debian.org>
185+Standards-Version: 3.6.1
186+
187+Package: records-common
188+Architecture: all
189+Description: Save and index notes in Emacs environment
190+ Records-mode is a major mode for editing and indexing notes.
191+ Notes are per-day files containing one or more subjects,
192+ subjects from different days are indexed and can be traversed,
193+ etc.
194+ .
195+ This package contains files common to GNU Emacs and XEmacs. You
196+ probably want to install either records-gnuemacs or records-xemacs.
197+
198+Package: records-gnuemacs
199+Architecture: all
200+Depends: emacs21, mailcrypt, perl5, records-common
201+Provides: records
202+Replaces: records
203+Conflicts: records (<< 1.5.1-1)
204+Description: Save and index notes in Emacs environment
205+ Records-mode is a major mode for editing and indexing notes.
206+ Notes are per-day files containing one or more subjects,
207+ subjects from different days are indexed and can be traversed,
208+ etc.
209+ .
210+ This package contains support for GNU Emacs.
211+
212+Package: records-xemacs
213+Architecture: all
214+Depends: xemacs21, perl5, records-common
215+Provides: records
216+Replaces: records
217+Conflicts: records (<< 1.5.1-1)
218+Description: Save and index notes in Emacs environment
219+ Records-mode is a major mode for editing and indexing notes.
220+ Notes are per-day files containing one or more subjects,
221+ subjects from different days are indexed and can be traversed,
222+ etc.
223+ .
224+ This package contains support for XEmacs.
225
226=== added file 'debian/copyright'
227--- debian/copyright 1970-01-01 00:00:00 +0000
228+++ debian/copyright 2009-06-07 07:47:51 +0000
229@@ -0,0 +1,16 @@
230+This package was debianized by Tommi Virtanen tv@debian.org on
231+Thu, 3 Dec 1998 14:37:11 +0200.
232+
233+It was downloaded from http://sourceforge.net/projects/records
234+
235+Upstream Author(s): Ashvin Goel <ashvin@users.sourceforge.net>
236+ <ashvin@cse.ogi.edu>
237+
238+Copyright:
239+
240+;;; Copyright (C) 1996 by Ashvin Goel
241+;;;
242+;;; This file is under the Gnu Public License.
243+
244+On Debian GNU/Linux systems, the complete text of the GNU General
245+Public License can be found in /usr/share/common-licenses/GPL'.
246
247=== added file 'debian/emacsen-install'
248--- debian/emacsen-install 1970-01-01 00:00:00 +0000
249+++ debian/emacsen-install 2009-06-07 07:47:51 +0000
250@@ -0,0 +1,74 @@
251+#!/bin/sh
252+
253+set -e
254+
255+PACKAGE=
256+[ "$PACKAGE" ]
257+
258+FLAVOR="$1"
259+
260+EFLAGS="-batch -q -l lpath.el -f batch-byte-compile"
261+
262+inst () {
263+ echo -n "install/$PACKAGE: Byte-compiling for ${FLAVOR}..."
264+
265+ install -m 755 -d "/usr/share/$FLAVOR/site-lisp/$PACKAGE/"
266+
267+ cp /usr/share/emacs/site-lisp/records/records-index.el \
268+ /usr/share/emacs/site-lisp/records/records-dindex.el \
269+ /usr/share/emacs/site-lisp/records/records-util.el \
270+ /usr/share/emacs/site-lisp/records/records-vars.el \
271+ /usr/share/emacs/site-lisp/records/records-autoloads.el \
272+ /usr/share/emacs/site-lisp/records/records-search.el \
273+ /usr/share/emacs/site-lisp/records/records.el \
274+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/"
275+ cat <<-EOF >"/usr/share/$FLAVOR/site-lisp/$PACKAGE/lpath.el"
276+ (setq load-path (cons nil load-path))
277+ EOF
278+ (cd "/usr/share/$FLAVOR/site-lisp/$PACKAGE/" \
279+ && "$FLAVOR" $EFLAGS \
280+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records.el" \
281+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records-index.el" \
282+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records-dindex.el" \
283+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records-util.el" \
284+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records-autoloads.el" \
285+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records-vars.el" \
286+ "/usr/share/${FLAVOR}/site-lisp/$PACKAGE/records-search.el" \
287+ >CompilationLog 2>&1)
288+ gzip -9qf "/usr/share/$FLAVOR/site-lisp/$PACKAGE/CompilationLog"
289+ rm -f "/usr/share/$FLAVOR/site-lisp/$PACKAGE"/*.el
290+ echo "done."
291+}
292+
293+case "$PACKAGE" in
294+ records-gnuemacs)
295+ case "$FLAVOR" in
296+ emacs)
297+ ;;
298+ emacs21)
299+ inst
300+ ;;
301+ *)
302+ ;;
303+ esac
304+ ;;
305+
306+ records-xemacs)
307+ case "$FLAVOR" in
308+ emacs)
309+ ;;
310+ xemacs21)
311+ inst
312+ ;;
313+ *)
314+ ;;
315+ esac
316+ ;;
317+
318+ *)
319+ echo "install/records: ERROR! Unknown package $PACKAGE." 1>&2
320+ exit 2
321+ ;;
322+esac
323+
324+exit 0;
325
326=== added file 'debian/emacsen-remove'
327--- debian/emacsen-remove 1970-01-01 00:00:00 +0000
328+++ debian/emacsen-remove 2009-06-07 07:47:51 +0000
329@@ -0,0 +1,57 @@
330+#!/bin/sh
331+
332+set -e
333+
334+PACKAGE=
335+[ "$PACKAGE" ]
336+
337+FLAVOR="$1"
338+echo "remove/$PACKAGE: Handling removal of emacsen flavor $FLAVOR"
339+
340+
341+remove () {
342+ echo -n "records: purging byte-compiled files for ${FLAVOR}..."
343+ rm -f "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records-index.elc" \
344+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records-autoloads.elc" \
345+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records-dindex.elc" \
346+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records-util.elc" \
347+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records-vars.elc" \
348+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records-search.elc" \
349+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/records.elc" \
350+ "/usr/share/$FLAVOR/site-lisp/$PACKAGE/CompilationLog.gz"
351+ rmdir "/usr/share/$FLAVOR/site-lisp/$PACKAGE" || true
352+ echo "done."
353+}
354+
355+case "$PACKAGE" in
356+ records-gnuemacs)
357+ case "$FLAVOR" in
358+ emacs)
359+ ;;
360+ emacs21)
361+ remove
362+ ;;
363+ *)
364+ ;;
365+ esac
366+ ;;
367+
368+ records-xemacs)
369+ case "$FLAVOR" in
370+ emacs)
371+ ;;
372+ xemacs21)
373+ remove
374+ ;;
375+ *)
376+ ;;
377+ esac
378+ ;;
379+
380+ *)
381+ echo "remove/records: ERROR! Unknown package $PACKAGE." 1>&2
382+ exit 2
383+ ;;
384+esac
385+
386+exit 0;
387
388=== added file 'debian/emacsen-startup'
389--- debian/emacsen-startup 1970-01-01 00:00:00 +0000
390+++ debian/emacsen-startup 2009-06-07 07:47:51 +0000
391@@ -0,0 +1,32 @@
392+;;
393+;; /etc/emacs/site-start.d/50records.el
394+;;
395+
396+; Define key bindings for functions called from outside records mode
397+
398+; The preferred binding for records-goto-today - uncomment to use it
399+(define-key global-map [?\C-c ?n] 'records-goto-today)
400+(define-key global-map [?\C-c ?-] 'records-underline-line)
401+
402+; The Ctrl-x n map
403+(define-key global-map [?\C-x ?n ?t] 'records-goto-today)
404+(define-key global-map [?\C-x ?n ?r] 'records-insert-record-region)
405+(define-key global-map [?\C-x ?n ?b] 'records-insert-record-buffer)
406+
407+
408+; Hook up to the calendar mode
409+(add-hook 'calendar-load-hook
410+ (function
411+ (lambda ()
412+ (define-key calendar-mode-map "n" 'records-calendar-to-record))))
413+
414+;;;*** OPTIONAL ***;;;
415+
416+; If you like abbrev mode
417+;(add-hook 'records-mode-hooks
418+; (function
419+; (lambda ()
420+; (abbrev-mode 1))))
421+
422+; If you want to be brought to today's record on startup
423+;(records-goto-today)
424
425=== added file 'debian/info'
426--- debian/info 1970-01-01 00:00:00 +0000
427+++ debian/info 2009-06-07 07:47:51 +0000
428@@ -0,0 +1,15 @@
429+# This is a configuration files for installing a .info menu
430+# The Description to be placed into the directory
431+DESCR="Description"
432+
433+# The section this info file should be placed in (Regexp) followed by
434+# the new section name to be created if the Regexp does not match
435+# (Optional. If not given the .info will be appended to the directory)
436+SECTION_MATCH="General Commands"
437+SECTION_NAME="General Commands"
438+
439+# The file referred to from the Info directory
440+FILE=records.info
441+
442+# Optional. The files to be copied to /usr/info
443+#FILES=*.info
444
445=== added file 'debian/postinst-emacsen'
446--- debian/postinst-emacsen 1970-01-01 00:00:00 +0000
447+++ debian/postinst-emacsen 2009-06-07 07:47:51 +0000
448@@ -0,0 +1,19 @@
449+#!/bin/sh
450+set -e
451+
452+PACKAGE=
453+[ "$PACKAGE" ]
454+
455+if [ "$1" = "configure" -a -x /usr/lib/emacsen-common/emacs-package-install ]
456+then
457+ /usr/lib/emacsen-common/emacs-package-install "$PACKAGE"
458+fi
459+
460+if [ "$1" = "configure" ]; then
461+ if [ -d /usr/doc -a -h /usr/doc/$PACKAGE -a -d /usr/share/doc/$PACKAGE ]; then
462+ rm -f /usr/doc/$PACKAGE
463+ fi
464+fi
465+
466+#DEBHELPER#
467+
468
469=== added file 'debian/postinst.records-common'
470--- debian/postinst.records-common 1970-01-01 00:00:00 +0000
471+++ debian/postinst.records-common 2009-06-07 07:47:51 +0000
472@@ -0,0 +1,15 @@
473+#!/bin/sh
474+set -e
475+
476+PACKAGE=
477+[ "$PACKAGE" ]
478+
479+if [ "$1" = "configure" ]; then
480+ if [ -d /usr/doc -a -h /usr/doc/$PACKAGE -a -d /usr/share/doc/$PACKAGE ]; then
481+ rm -f /usr/doc/$PACKAGE
482+ fi
483+
484+ install-info --quiet --section "Emacs" "Emacs" \
485+ --description="Major mode for editing and indexing notes" \
486+ /usr/share/info/records.info
487+fi
488
489=== added file 'debian/prerm-emacsen'
490--- debian/prerm-emacsen 1970-01-01 00:00:00 +0000
491+++ debian/prerm-emacsen 2009-06-07 07:47:51 +0000
492@@ -0,0 +1,14 @@
493+#!/bin/sh
494+set -e
495+
496+PACKAGE=
497+[ "$PACKAGE" ]
498+
499+if [ -x /usr/lib/emacsen-common/emacs-package-remove ] ; then
500+ /usr/lib/emacsen-common/emacs-package-remove "$PACKAGE"
501+fi
502+
503+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
504+ -a -L /usr/doc/$PACKAGE ]; then
505+ rm -f /usr/doc/$PACKAGE
506+fi
507
508=== added file 'debian/prerm.records-common'
509--- debian/prerm.records-common 1970-01-01 00:00:00 +0000
510+++ debian/prerm.records-common 2009-06-07 07:47:51 +0000
511@@ -0,0 +1,13 @@
512+#!/bin/sh
513+set -e
514+
515+PACKAGE=
516+[ "$PACKAGE" ]
517+
518+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
519+ -a -L /usr/doc/$PACKAGE ]; then
520+ rm -f /usr/doc/$PACKAGE
521+fi
522+
523+install-info --quiet --remove /usr/share/info/records.info
524+
525
526=== added file 'debian/rules'
527--- debian/rules 1970-01-01 00:00:00 +0000
528+++ debian/rules 2009-06-07 09:26:10 +0000
529@@ -0,0 +1,143 @@
530+#!/usr/bin/make -f
531+
532+INST=debian/inst
533+
534+testdir:
535+ test -e debian/control
536+
537+testroot:
538+ test root = "`whoami`" || (echo need root priviledges; exit 1)
539+
540+test: testdir testroot
541+
542+Makefile: Makefile.in configure
543+ ./configure --prefix=/usr
544+
545+info: doc/Makefile.in
546+ -$(MAKE) info
547+
548+ps: doc/Makefile.in
549+ -$(MAKE) ps
550+
551+config: testdir Makefile
552+
553+build: testdir config info ps
554+
555+clean: test
556+ -$(MAKE) clean
557+ rm -f recordsadmin config.log config.cache config.status Makefile
558+ rm -rf debian/files debian/substvars $(INST)
559+
560+install-records-common: test build
561+ install -d -m0755 \
562+ $(INST)/records-common/usr/bin \
563+ $(INST)/records-common/usr/share/emacs/site-lisp/records \
564+ $(INST)/records-common/usr/share/info \
565+ $(INST)/records-common/usr/share/doc/records-common/examples \
566+ $(INST)/records-common/usr/share/man/man1
567+ install -m0644 doc/records.info \
568+ $(INST)/records-common/usr/share/info/records.info
569+ install -m0755 src/recordsadmin $(INST)/records-common/usr/bin
570+ install -m0644 \
571+ FAQ INSTALL README debian/README.Debian \
572+ debian/copyright \
573+ $(INST)/records-common/usr/share/doc/records-common
574+ install -m0644 \
575+ debian/changelog \
576+ $(INST)/records-common/usr/share/doc/records-common/changelog.Debian
577+ install -m0644 \
578+ NEWS \
579+ ChangeLog \
580+ doc/records.ps \
581+ $(INST)/records-common/usr/share/doc/records-common
582+ install -m0644 \
583+ src/records-templ.tex \
584+ $(INST)/records-common/usr/share/doc/records-common/examples
585+ find $(INST)/records-common/usr/share/doc/records-common \
586+ -type f -a \! -name '*.gz' -a \! -name 'copyright' -print0 \
587+ | xargs -0 --no-run-if-empty gzip -9f --
588+ install -m0644 src/records-autoloads.el src/records-dindex.el \
589+ src/records.el src/records.el src/records-index.el \
590+ src/records-load.el src/records-pkg.el \
591+ src/records-search.el src/records-tex.el \
592+ src/records-util.el src/records-vars.el \
593+ src/records-version.el
594+ $(INST)/records-common/usr/share/emacs/site-lisp/records
595+
596+install-records-gnuemacs: test build
597+ install -d -m0755 $(INST)/records-gnuemacs/usr/share/doc
598+ ln -sf records-common $(INST)/records-gnuemacs/usr/share/doc/records-gnuemacs
599+
600+install-records-xemacs: test build
601+ install -d -m0755 $(INST)/records-xemacs/usr/share/doc
602+ ln -sf records-common $(INST)/records-xemacs/usr/share/doc/records-xemacs
603+
604+install: \
605+ install-records-common \
606+ install-records-gnuemacs \
607+ install-records-xemacs
608+
609+make-maintscripts-%:
610+ @[ ! -e "debian/prerm.$*" ] || $(call SED_INSTALL,$*,debian/prerm.$*,$(INST)/$*/DEBIAN/prerm,0755)
611+ @[ ! -e "debian/postinst.$*" ] || $(call SED_INSTALL,$*,debian/postinst.$*,$(INST)/$*/DEBIAN/postinst,0755)
612+
613+make-debian-%:
614+ install -d -m0755 $(INST)/$*/DEBIAN
615+
616+make-package-%:
617+ set -e; if [ -d $(INST)/$*/etc ]; then \
618+ cd $(INST)/$* && find ./etc -type f \
619+ | sed 's/^\.//g' >DEBIAN/conffiles.tmp ;\
620+ chmod 0644 DEBIAN/conffiles.tmp ;\
621+ mv DEBIAN/conffiles.tmp DEBIAN/conffiles ;\
622+ fi
623+ dpkg-gencontrol -isp -p$* -P$(INST)/$*
624+ dpkg --build $(INST)/$* ..
625+
626+# $(call SED_INSTALL,package,from,to,mode)
627+SED_INSTALL = \
628+ echo "sed_install PACKAGE=$(1) $(2) $(3)" ;\
629+ set -e ;\
630+ sed 's/^PACKAGE=.*/PACKAGE=$(1)/' <$(2) >$(3).tmp ;\
631+ chmod $(4) $(3).tmp ;\
632+ mv $(3).tmp $(3)
633+
634+make-emacsen-%:
635+ install -d \
636+ $(INST)/records-$*/usr/lib/emacsen-common/packages/install \
637+ $(INST)/records-$*/usr/lib/emacsen-common/packages/remove \
638+ $(INST)/records-$*/etc/emacs/site-start.d
639+
640+ @$(call SED_INSTALL,records-$*,debian/emacsen-install,$(INST)/records-$*/usr/lib/emacsen-common/packages/install/records-$*,0755)
641+ @$(call SED_INSTALL,records-$*,debian/emacsen-remove,$(INST)/records-$*/usr/lib/emacsen-common/packages/remove/records-$*,0755)
642+ @$(call SED_INSTALL,records-$*,debian/emacsen-startup,$(INST)/records-$*/etc/emacs/site-start.d/50records-$*.el,0644)
643+
644+ @$(call SED_INSTALL,records-$*,debian/postinst-emacsen,$(INST)/records-$*/DEBIAN/postinst,0755)
645+ @$(call SED_INSTALL,records-$*,debian/prerm-emacsen,$(INST)/records-$*/DEBIAN/prerm,0755)
646+
647+binary-indep-records-common: test install-records-common \
648+ make-debian-records-common \
649+ make-maintscripts-records-common \
650+ make-package-records-common
651+
652+binary-indep-records-gnuemacs: test install-records-gnuemacs \
653+ make-debian-records-gnuemacs make-emacsen-gnuemacs \
654+ make-package-records-gnuemacs
655+
656+binary-indep-records-xemacs: test install-records-xemacs \
657+ make-debian-records-xemacs \
658+ make-emacsen-xemacs \
659+ make-package-records-xemacs
660+
661+binary-indep: binary-indep-records-common \
662+ binary-indep-records-gnuemacs binary-indep-records-xemacs
663+
664+binary-arch:
665+
666+binary: binary-indep binary-arch
667+
668+.PHONY: testdir testroot test config info ps build clean \
669+ install-records-common install-records-gnuemacs \
670+ install-records-xemacs install binary-indep-records-common \
671+ binary-indep-records-gnuemacs binary-indep-records-xemacs \
672+ binary-indep binary-arch binary

Subscribers

People subscribed via source and target branches