1 diff -urN netbsd-sh/debian/README.debian ash-0.3.7.orig/debian/README.debian
2 --- netbsd-sh/debian/README.debian Thu Jan 1 01:00:00 1970
3 +++ ash-0.3.7.orig/debian/README.debian Mon Apr 23 22:16:46 2001
6 +----------------------
8 +This is a very simple port of ash taken from NetBSD-current on 1997/06/18. The
9 +file setmode.c was taken from src/libc/gen and is needed since the Linux libc
10 +does provide getmode(3) or setmode(3). History editing is disabled to avoid
11 +code bloat. This also means that building the package is possible without the
14 +This port is preriodically revised to keep up to date with NetBSD's current
17 +Herbert Xu <herbert@debian.org>
19 diff -urN netbsd-sh/debian/ash-medium.README.Debian ash-0.3.7.orig/debian/ash-medium.README.Debian
20 --- netbsd-sh/debian/ash-medium.README.Debian Thu Jan 1 01:00:00 1970
21 +++ ash-0.3.7.orig/debian/ash-medium.README.Debian Mon Apr 23 22:16:46 2001
24 +----------------------
26 +This is a very simple port of ash taken from NetBSD-current on 1997/06/18. The
27 +file setmode.c was taken from src/libc/gen and is needed since the Linux libc
28 +does provide getmode(3) or setmode(3). History editing is disabled to avoid
29 +code bloat. This also means that building the package is possible without the
32 +This port is preriodically revised to keep up to date with NetBSD's current
35 +Herbert Xu <herbert@debian.org>
37 diff -urN netbsd-sh/debian/ash-medium.dirs ash-0.3.7.orig/debian/ash-medium.dirs
38 --- netbsd-sh/debian/ash-medium.dirs Thu Jan 1 01:00:00 1970
39 +++ ash-0.3.7.orig/debian/ash-medium.dirs Mon Apr 23 22:16:46 2001
43 diff -urN netbsd-sh/debian/ash-udeb.dirs ash-0.3.7.orig/debian/ash-udeb.dirs
44 --- netbsd-sh/debian/ash-udeb.dirs Thu Jan 1 01:00:00 1970
45 +++ ash-0.3.7.orig/debian/ash-udeb.dirs Mon Apr 23 22:16:46 2001
48 diff -urN netbsd-sh/debian/bsdyacc ash-0.3.7.orig/debian/bsdyacc
49 --- netbsd-sh/debian/bsdyacc Thu Jan 1 01:00:00 1970
50 +++ ash-0.3.7.orig/debian/bsdyacc Mon Apr 23 22:16:46 2001
54 +if echo "$@" | grep -q -- -o; then
55 + OUTPUT=$(echo "$@" |
56 + sed 's/.*-o[[:blank:]]\+\([^[:blank:]]\+\)\.c.*/\1/')
57 + OPTIONS=$(echo "$@" |
58 + sed 's/\(.*\)-o[[:blank:]]\+[^[:blank:]]\+\(.*\)/\1\2/')
61 + OUTPUT=$(echo "$@" |
62 + sed -e 's/.*[[:blank:]]\+\([^[:blank:]]\+\)\.y.*/\1/')
68 +if [ $NEW = 1 ]; then
69 + mv y.tab.c $OUTPUT.c
72 diff -urN netbsd-sh/debian/changelog ash-0.3.7.orig/debian/changelog
73 --- netbsd-sh/debian/changelog Thu Jan 1 01:00:00 1970
74 +++ ash-0.3.7.orig/debian/changelog Mon Apr 23 22:16:46 2001
76 +ash (0.3.7-14) unstable; urgency=low
78 + * Removed predependency from udeb (closes: #81995).
79 + * Added /bin/sh symlink to udeb (closes: #81967).
81 + -- Herbert Xu <herbert@debian.org> Sat, 13 Jan 2001 15:23:21 +1100
83 +ash (0.3.7-13) unstable; urgency=low
85 + * Renamed the udeb to ash-udeb.
87 + -- Herbert Xu <herbert@debian.org> Wed, 20 Dec 2000 19:32:34 +1100
89 +ash (0.3.7-12) unstable; urgency=low
91 + * Added support for udebs (Randolph Chung, closes: #79237).
93 + -- Herbert Xu <herbert@debian.org> Sat, 16 Dec 2000 13:53:28 +1100
95 +ash (0.3.7-11) unstable; urgency=low
97 + * Preserve the previous exit status upon entering a function
100 + -- Herbert Xu <herbert@debian.org> Sun, 3 Dec 2000 13:34:27 +1100
102 +ash (0.3.7-10) unstable; urgency=low
104 + * Merged changes for GNU from Igor Khavkine.
105 + * Minimise the number of sigactions.
107 + -- Herbert Xu <herbert@debian.org> Fri, 3 Nov 2000 20:31:52 +1100
109 +ash (0.3.7-9) unstable; urgency=low
111 + * Predepend on the libraries.
112 + * Always save fd 2 when it is redirected (closes: #75302).
114 + -- Herbert Xu <herbert@debian.org> Sun, 22 Oct 2000 08:40:40 +1100
116 +ash (0.3.7-8) unstable; urgency=high
118 + * More redirection fixes (closes: #73613).
120 + -- Herbert Xu <herbert@debian.org> Thu, 5 Oct 2000 18:22:17 +1100
122 +ash (0.3.7-7) unstable; urgency=high
124 + * Added missing break in redirection code (closes: #72956).
126 + -- Herbert Xu <herbert@debian.org> Tue, 3 Oct 2000 07:58:04 +1100
128 +ash (0.3.7-6) unstable; urgency=low
130 + * command -[vV] no longer displays an error message on stdout.
131 + * Redirecting to /proc/self/fd/* now works (closes: #72852).
133 + -- Herbert Xu <herbert@debian.org> Sun, 1 Oct 2000 12:56:39 +1100
135 +ash (0.3.7-5) unstable; urgency=low
137 + * Implemented set -a.
139 + -- Herbert Xu <herbert@debian.org> Sat, 30 Sep 2000 16:00:33 +1100
141 +ash (0.3.7-4) unstable; urgency=low
143 + * Added build-time dependency on debhelper (closes: #69920).
144 + * Extended maximum length of arithmetic expansions to match 32-bit integers.
146 + -- Herbert Xu <herbert@debian.org> Wed, 20 Sep 2000 14:28:16 +1100
148 +ash (0.3.7-3) unstable; urgency=low
150 + * Switch to the old globbing code since glob(3) is hopelessly broken
153 + -- Herbert Xu <herbert@debian.org> Mon, 21 Aug 2000 20:37:15 +1000
155 +ash (0.3.7-2) unstable; urgency=low
157 + * Call glob(3) with GLOB_NOMAGIC (ouch).
159 + -- Herbert Xu <herbert@debian.org> Sun, 6 Aug 2000 17:47:08 +1000
161 +ash (0.3.7-1) unstable; urgency=low
163 + * NetBSD-current version as of 20000729.
164 + * Use fnmatch(3) and glob(3).
165 + * Fixed the use of backslashes in the pattern in parameter substitutions,
166 + hopefully for the last time.
167 + * Applied HETIO patch and built ash.medium (closes: #50788). Will do ash.big
168 + when readline is fixed so that it doesn't leak anymore.
170 + -- Herbert Xu <herbert@debian.org> Fri, 4 Aug 2000 21:36:44 +1000
172 +ash (0.3.6-5) unstable; urgency=low
174 + * Fixed manpage entry for read with patch from Kevin Ryde (closes: #62500).
175 + * Fixed a file descriptor leak for pipelines.
177 + -- Herbert Xu <herbert@debian.org> Wed, 19 Apr 2000 18:56:20 +1000
179 +ash (0.3.6-4) unstable; urgency=low
181 + * Fixed the case of an empty command with redirections.
183 + -- Herbert Xu <herbert@debian.org> Fri, 7 Apr 2000 12:07:18 +1000
185 +ash (0.3.6-3) unstable; urgency=low
187 + * ! is now recognised correctly.
188 + * Ash is now more strict on the syntax, e.g., a lone ! is no longer accepted
189 + as an alternative to ! true.
191 + -- Herbert Xu <herbert@debian.org> Fri, 7 Apr 2000 10:46:06 +1000
193 +ash (0.3.6-2) unstable; urgency=low
195 + * Fixed a problem with fmtstr() which broke getopts.
197 + -- Herbert Xu <herbert@debian.org> Sun, 2 Apr 2000 10:49:26 +1000
199 +ash (0.3.6-1) unstable; urgency=low
201 + * NetBSD-current version as of 20000326.
202 + * Added a Build-Depends on groff (closes: #61041).
203 + * Implemented noclobber (closes: #59028).
204 + * Rewrote output.c to use stream IO.
206 + -- Herbert Xu <herbert@debian.org> Sat, 1 Apr 2000 19:24:31 +1000
208 +ash (0.3.5-10) frozen unstable; urgency=low
210 + * Don't stat mail boxes in non-interactive mode (closes: #59213).
211 + * Added an fflush(stdout) to the times builtin (closes: #59027).
212 + * Documented the times builtin.
213 + * Added source depends.
215 + -- Herbert Xu <herbert@debian.org> Sat, 18 Mar 2000 18:58:44 +1100
217 +ash (0.3.5-9) unstable; urgency=low
219 + * Double quotes inside paramater substitutions inside double quotes are now
220 + ignored as in bash (the originial behaviour was POSIX compliant too but
221 + IMHO this one makes a little bit more sense).
222 + This one broke mwm (but it was actually mwm's fault).
223 + * Corrected backslash/CTLESC treatment for patterns in parameter
226 + -- Herbert Xu <herbert@debian.org> Sat, 6 Nov 1999 18:13:19 +1100
228 +ash (0.3.5-8) unstable; urgency=low
230 + * Replaced use of echo -n in manual page with escape codes.
231 + * Made FHS compliant (closes: #47978).
232 + * Restored echo's option processing ability.
234 + -- Herbert Xu <herbert@debian.org> Fri, 22 Oct 1999 10:20:58 +1000
236 +ash (0.3.5-7) unstable; urgency=low
238 + * echo no longer supports options.
239 + * Don't quote patterns inside parameter substitutions enclosed by double
240 + quotes (closes: #47842).
242 + -- Herbert Xu <herbert@debian.org> Wed, 20 Oct 1999 20:28:14 +1000
244 +ash (0.3.5-6) unstable; urgency=low
246 + * Use getcwd() instead of /bin/pwd -- Zack Weinberg (closes: #46981).
248 + -- Herbert Xu <herbert@debian.org> Sun, 10 Oct 1999 16:31:49 +1000
250 +ash (0.3.5-5) unstable; urgency=low
252 + * Only test for -e on simple commands (fixes #44559).
254 + -- Herbert Xu <herbert@debian.org> Wed, 8 Sep 1999 22:18:27 +1000
256 +ash (0.3.5-4) unstable; urgency=low
258 + * Don't wait for stopped children if job control is disabled (fixes #42814).
259 + * Allow an option '(' in a case statement (fixes #42364).
261 + -- Herbert Xu <herbert@debian.org> Thu, 12 Aug 1999 23:30:30 +1000
263 +ash (0.3.5-3) unstable; urgency=low
265 + * OK, the fix to the esoteric problem in 0.3.5-1 actually breaks VSASSIGN
266 + and VSQUESTION, they should work properly now (fixes #41327).
268 + -- Herbert Xu <herbert@debian.org> Thu, 15 Jul 1999 22:47:13 +1000
270 +ash (0.3.5-2) unstable; urgency=low
272 + * PATH search and execution is now correct.
273 + * hash no longer shows builtins.
274 + * Added kill builtin.
275 + * New description from James R. van Zandt reformatted by Josip Rodin.
277 + -- Herbert Xu <herbert@debian.org> Mon, 12 Jul 1999 18:51:42 +1000
279 +ash (0.3.5-1) unstable; urgency=low
281 + * New upstream release.
282 + * Adapted to new pmake (fixes #38737).
283 + * Fixed behvaiour of backslashes preceding a closing brace for a parameter
284 + substituion inside double quotes (even bash messes this one up :).
285 + * Fixed command (fixes #34639).
286 + * Fixed a pipe bug where stdin may be wrongly closed (fixes #35452).
287 + * Revamped getopts (fixes #39694).
289 + -- Herbert Xu <herbert@debian.org> Sun, 4 Jul 1999 12:19:01 +1000
291 +ash (0.3.4-7) unstable; urgency=low
293 + * Fixed a glibc 2.1 compatitibility problem.
294 + * Fixed a PWD inconsistency that stuffed up the kernel compilation.
296 + -- Herbert Xu <herbert@debian.org> Mon, 17 May 1999 23:14:57 +1000
298 +ash (0.3.4-6) unstable; urgency=low
300 + * Fixed incorrect -e test due to the last bug fix (fixes #26509).
302 + -- Herbert Xu <herbert@debian.org> Tue, 8 Sep 1998 10:02:46 +1000
304 +ash (0.3.4-5) unstable; urgency=low
306 + * Use test_eaccess from bash instead of access(2) (fixes #26110).
308 + -- Herbert Xu <herbert@debian.org> Wed, 26 Aug 1998 21:22:49 +1000
310 +ash (0.3.4-4) unstable; urgency=low
312 + * Only upload to unstable.
314 + -- Herbert Xu <herbert@debian.org> Tue, 5 May 1998 18:01:02 +1000
316 +ash (0.3.4-3) frozen unstable; urgency=low
318 + * Applied sparc patch (fixes #21562).
320 + -- Herbert Xu <herbert@debian.org> Fri, 1 May 1998 19:48:13 +1000
322 +ash (0.3.4-2) frozen unstable; urgency=low
324 + * Fixed the incorrect trap fixes (fixes #20363).
326 + -- Herbert Xu <herbert@debian.org> Thu, 16 Apr 1998 21:07:10 +1000
328 +ash (0.3.4-1) unstable; urgency=low
330 + * New upstream release.
331 + * Reverted word splitting change in 0.3.2-1 since the fix was broken and
332 + major work (the quote removal is done too quickly at the moment) is needed
333 + to fix it properly.
334 + * Fixed more trap noncompliance.
336 + -- Herbert Xu <herbert@debian.org> Thu, 19 Mar 1998 22:59:12 +1100
338 +ash (0.3.2-5) unstable; urgency=low
340 + * Fixed a bug when doing pattern matching in parameter expansions.
342 + -- Herbert Xu <herbert@debian.org> Tue, 10 Mar 1998 21:25:40 +1100
344 +ash (0.3.2-4) unstable; urgency=low
346 + * Allow ] to be quoted in bracket expressions (fixes #17533).
347 + * Move dh_fixperms to second last spot (fixes #18267).
348 + * Don't do field splitting in evalfor.
350 + -- Herbert Xu <herbert@debian.org> Tue, 17 Feb 1998 13:32:09 +1100
352 +ash (0.3.2-3) unstable; urgency=low
354 + * Fixed stupid core dump.
356 + -- Herbert Xu <herbert@debian.org> Wed, 11 Feb 1998 21:33:55 +1100
358 +ash (0.3.2-2) unstable; urgency=low
360 + * Hack for special builtins (fixes #18055).
361 + * Hack for command.
363 + -- Herbert Xu <herbert@debian.org> Wed, 11 Feb 1998 21:19:46 +1100
365 +ash (0.3.2-1) unstable; urgency=low
367 + * NetBSD-current version as of 19980209.
368 + * Fixed a word splitting problem after parameter expansion thanks to Alexey
370 + * Converted to debhelper (fixes #14612, #15005).
372 + -- Herbert Xu <herbert@debian.org> Mon, 9 Feb 1998 16:53:48 +1100
374 +ash (0.3.1-20) unstable; urgency=low
376 + * Fixed -e problem with eval.
378 + -- Herbert Xu <herbert@debian.org> Sun, 7 Dec 1997 20:19:00 +1100
380 +ash (0.3.1-19) unstable; urgency=low
382 + * Fixed -e problem with command substitution.
384 + -- Herbert Xu <herbert@debian.org> Sun, 7 Dec 1997 19:44:49 +1100
386 +ash (0.3.1-18) unstable; urgency=low
388 + * Do not link with ncurses (#15485).
390 + -- Herbert Xu <herbert@debian.org> Sun, 30 Nov 1997 12:00:11 +1100
392 +ash (0.3.1-17) unstable; urgency=low
394 + * Set PATH like bash (#15238).
396 + -- Herbert Xu <herbert@debian.org> Wed, 26 Nov 1997 16:17:27 +1100
398 +ash (0.3.1-16) unstable; urgency=low
400 + * Fixed incorrect assignment builtin code.
402 + -- Herbert Xu <herbert@debian.org> Mon, 24 Nov 1997 16:19:10 +1100
404 +ash (0.3.1-15) unstable; urgency=low
406 + * hash now returns error codes (needed by the Linux kernel).
408 + -- Herbert Xu <herbert@debian.org> Sun, 23 Nov 1997 21:37:08 +1100
410 +ash (0.3.1-14) unstable; urgency=low
412 + * Disabled word-splitting for assignment builtins.
414 + -- Herbert Xu <herbert@debian.org> Sun, 23 Nov 1997 12:45:15 +1100
416 +ash (0.3.1-13) unstable; urgency=low
418 + * ! is now recognised even after &&/||.
420 + -- Herbert Xu <herbert@debian.org> Fri, 21 Nov 1997 22:09:05 +1100
422 +ash (0.3.1-12) unstable; urgency=low
424 + * More fixes to the handling of SIGINT when forking.
426 + -- Herbert Xu <herbert@debian.org> Fri, 14 Nov 1997 15:14:32 +1100
428 +ash (0.3.1-11) unstable; urgency=low
430 + * Ignore SIGINT when forking non-interactively.
432 + -- Herbert Xu <herbert@debian.org> Mon, 3 Nov 1997 12:00:02 +1100
434 +ash (0.3.1-10) unstable; urgency=low
436 + * echo now handles options correctly.
437 + * echo nolonger returns 0 if erorrs occured while writing to stdout.
438 + * New code from GNU echo merged.
439 + * Error messages from test now work.
441 + -- Herbert Xu <herbert@debian.org> Wed, 8 Oct 1997 21:47:13 +1000
443 +ash (0.3.1-9) unstable; urgency=low
445 + * ! is recognised at pipeline level like bash.
447 + -- Herbert Xu <herbert@debian.org> Mon, 15 Sep 1997 23:13:45 +1000
449 +ash (0.3.1-8) unstable; urgency=medium
451 + * Old patch regarding SIGCHLD in again.
453 + -- Herbert Xu <herbert@debian.org> Sun, 31 Aug 1997 11:20:27 +1000
455 +ash (0.3.1-7) unstable; urgency=low
457 + * /bin/sh -e is behaving even better now (for loops within conditionals).
459 + -- Herbert Xu <herbert@debian.org> Sat, 23 Aug 1997 22:08:19 +1000
461 +ash (0.3.1-6) unstable; urgency=low
463 + * /bin/sh -e is behaving better now.
465 + -- Herbert Xu <herbert@debian.org> Sat, 23 Aug 1997 13:16:26 +1000
467 +ash (0.3.1-5) unstable; urgency=low
469 + * hash -v /dir/command doesn't coredump anymore.
470 + * type /dir/command now works correctly.
472 + -- Herbert Xu <herbert@debian.org> Fri, 1 Aug 1997 20:48:19 +1000
474 +ash (0.3.1-4) unstable; urgency=low
476 + * trap now understands symbolic signal names.
478 + -- Herbert Xu <herbert@debian.org> Sat, 26 Jul 1997 14:04:46 +1000
480 +ash (0.3.1-3) unstable; urgency=low
482 + * Added the builtin test command.
484 + -- Herbert Xu <herbert@debian.org> Sun, 20 Jul 1997 15:00:14 +1000
486 +ash (0.3.1-2) unstable; urgency=medium
488 + * Fixed a coredump involving $*.
490 + -- Herbert Xu <herbert@debian.org> Sat, 19 Jul 1997 12:03:02 +1000
492 +ash (0.3.1-1) unstable; urgency=medium
494 + * NetBSD-current version as of 19970715.
495 + * Fixed a "use after free" bug (#11294).
497 + -- Herbert Xu <herbert@debian.org> Fri, 18 Jul 1997 13:48:09 +1000
499 +ash (0.3-1) unstable; urgency=low
503 + -- Herbert Xu <herbert@debian.org> Thu, 19 Jun 1997 19:29:16 +1000
505 diff -urN netbsd-sh/debian/control ash-0.3.7.orig/debian/control
506 --- netbsd-sh/debian/control Thu Jan 1 01:00:00 1970
507 +++ ash-0.3.7.orig/debian/control Mon Apr 23 22:16:46 2001
512 +Maintainer: Herbert Xu <herbert@debian.org>
513 +Build-Depends: byacc, debhelper, flex, pmake, groff
514 +Standards-Version: 3.2.1
518 +Pre-Depends: ${shlibs:Depends}
519 +Description: NetBSD /bin/sh
520 + "ash" is a POSIX compliant shell that is much smaller than "bash".
521 + We take advantage of that by making it the shell on the installation
522 + root floppy, where space is at a premium.
524 + It can be usefully installed as /bin/sh (because it executes scripts
525 + somewhat faster than "bash"), or as the default shell either of root
526 + or of a second user with a userid of 0 (because it depends on fewer
527 + libraries, and is therefore less likely to be affected by an upgrade
528 + problem or a disk failure). It is also useful for checking that a
529 + script uses only POSIX syntax.
531 + "bash" is a better shell for most users, since it has some nice
532 + features absent from "ash", and is a required part of the system.
536 +Pre-Depends: ${shlibs:Depends}
538 +Description: NetBSD /bin/sh with HETIO
539 + This is a slightly bigger version of the standard ash package with a
540 + hack that provides primitive history support. It may be useful on
541 + boot floppies where space is at a premium, yet users still need the
542 + ability to access previous commands in the same session. If you're
543 + not a boot floppies maintainer, you should probably go for ash,
544 + ash.big (not yet available), or bash.
546 + "ash" is a POSIX compliant shell that is much smaller than "bash".
547 + We take advantage of that by making it the shell on the installation
548 + root floppy, where space is at a premium.
550 + It can be usefully installed as /bin/sh (because it executes scripts
551 + somewhat faster than "bash"), or as the default shell either of root
552 + or of a second user with a userid of 0 (because it depends on fewer
553 + libraries, and is therefore less likely to be affected by an upgrade
554 + problem or a disk failure). It is also useful for checking that a
555 + script uses only POSIX syntax.
557 + "bash" is a better shell for most users, since it has some nice
558 + features absent from "ash", and is a required part of the system.
562 +Section: debian-installer
563 +Description: NetBSD /bin/sh for boot floppies
564 + "ash" is a POSIX compliant shell that is much smaller than "bash".
565 + We take advantage of that by making it the shell on the installation
566 + root floppy, where space is at a premium.
568 + It can be usefully installed as /bin/sh (because it executes scripts
569 + somewhat faster than "bash"), or as the default shell either of root
570 + or of a second user with a userid of 0 (because it depends on fewer
571 + libraries, and is therefore less likely to be affected by an upgrade
572 + problem or a disk failure). It is also useful for checking that a
573 + script uses only POSIX syntax.
575 + "bash" is a better shell for most users, since it has some nice
576 + features absent from "ash", and is a required part of the system.
578 diff -urN netbsd-sh/debian/copyright ash-0.3.7.orig/debian/copyright
579 --- netbsd-sh/debian/copyright Thu Jan 1 01:00:00 1970
580 +++ ash-0.3.7.orig/debian/copyright Mon Apr 23 22:16:46 2001
582 +This package was debianized by Mark W. Eichin eichin@kitten.gen.ma.us on
583 +Mon, 24 Feb 1997 16:00:16 -0500.
585 +This package was re-ported from NetBSD and debianized by
586 +Herbert Xu herbert@debian.org on Thu, 19 Jun 1997 19:29:16 +1000.
588 +It was downloaded from ftp.netbsd.org.
592 +Copyright (c) 1991, 1993
593 + The Regents of the University of California. All rights reserved.
595 +This code is derived from software contributed to Berkeley by Kenneth Almquist.
597 +Please refer to /usr/share/common-licenses/BSD for details.
600 diff -urN netbsd-sh/debian/dirs ash-0.3.7.orig/debian/dirs
601 --- netbsd-sh/debian/dirs Thu Jan 1 01:00:00 1970
602 +++ ash-0.3.7.orig/debian/dirs Mon Apr 23 22:16:46 2001
606 diff -urN netbsd-sh/debian/rules ash-0.3.7.orig/debian/rules
607 --- netbsd-sh/debian/rules Thu Jan 1 01:00:00 1970
608 +++ ash-0.3.7.orig/debian/rules Mon Apr 23 22:16:46 2001
613 +# Uncomment this to turn on verbose mode.
614 +#export DH_VERBOSE=1
615 +CDEF = -g -O2 -Wall -DBSD=1 -DSMALL -D_GNU_SOURCE \
617 + -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)=
618 +CDEFSM = -Os -fomit-frame-pointer -Wall -DBSD=1 -DSMALL -D_GNU_SOURCE \
620 + -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)=
623 + chmod u+x debian/bsdyacc
625 + pmake CFLAGS='$(CDEF)' HETIO= YACC=`pwd`/debian/bsdyacc
629 + chmod u+x debian/bsdyacc
631 + pmake CFLAGS='$(CDEF)' YACC=`pwd`/debian/bsdyacc
634 + chmod u+x debian/bsdyacc
636 + pmake CFLAGS='$(CDEFSM)' YACC=`pwd`/debian/bsdyacc
640 +build-stamp: sh.hetio sh.udeb sh
651 + rm -f sh.cat1 mksignames signames.h sh.hetio sh.udeb
655 +# Build architecture-independent files here.
657 +# We have nothing to do by default.
659 +# Build architecture-dependent files here.
667 + install sh debian/tmp/bin/ash
668 + install -m 644 sh.1 debian/tmp/usr/share/man/man1/ash.1
669 + install sh.hetio debian/ash-medium/usr/bin/ash.medium
670 + install -m 644 sh.1 debian/ash-medium/usr/share/man/man1/ash.medium.1
671 + install sh.udeb debian/ash-udeb/bin/ash
672 + ln -s ash debian/ash-udeb/bin/sh
674 + dh_installdocs -Nash-udeb
679 +# dh_installmanpages
681 + dh_installchangelogs -Nash-udeb
686 + dh_installdeb -Nash-udeb
692 + for i in ../ash-udeb_*.deb; do mv $$i $${i%deb}udeb; done
693 + sed '/^[^ ]*\.udeb/d; s/^\(ash-udeb_[^ ]*\.\)deb/\1udeb/' \
694 + debian/files > debian/files.new
695 + mv debian/files.new debian/files
698 + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
700 +binary: binary-indep binary-arch
701 +.PHONY: build clean binary-indep binary-arch binary