install -d -o root -g root -m 755 debian-tmp/DEBIAN
install -d -o root -g root -m 755 debian-tmp/usr/doc/copyright/base
install -d -o root -g root -m 755 debian-tmp/usr/doc/base
test -f stamp-build || make -f debian.rules build
make[1]: Entering directory `/usr/var/debian/packages/base-1.1.0'
touch stamp-build
make[1]: Leaving directory `/usr/var/debian/packages/base-1.1.0'
(cd prototype; tar cfl - .)|(cd debian-tmp;tar flpx -)
install -g root -m 644 -o root debian.README \
  debian-tmp/usr/doc/copyright/base
ln -fs ../copyright/base debian-tmp/usr/doc/base/README.DEBIAN
(cd debian-tmp/dev; ./MAKEDEV audio aztcd cdu535 cm205cd cm206cd console doublecompress ftape generic geniusscan gscd hdc hdd hitcd ibcs2 idetape isdn js kbd mcd misc mmetfgrab mscdex optcd pcaudio qic sbpcd scd0 scd1 sdc sdd sde sdf sdg sdh sg sonycd st0 st1 wvisfgrab xdc xdd zorroIIram)
chmod 660 debian-tmp/dev/tty*
chmod 666 debian-tmp/dev/tty
(cd debian-tmp/root; mv dot.bashrc .bashrc; mv dot.bash_profile .bash_profile)
chmod 755 epoch
./epoch `find debian-tmp '(' -type f -o -type b -o -type c ')' -print`
sed -e 's/=V/1.1.0/' -e 's/=D/13/' -e 's/=A/all/' debian.control \
  > debian-tmp/DEBIAN/control
chmod 644 debian-tmp/DEBIAN/control
install -g root -m 644 -o root debian.conffiles \
  debian-tmp/DEBIAN/conffiles
install -g root -m 755 -o root debian.postinst \
  debian-tmp/DEBIAN/postinst
install -g root -m 755 -o root debian.postinst \
  debian-tmp/tmp/base.postinst
dpkg --build debian-tmp
dpkg-deb: building package `base' in `debian-tmp.deb'.
mv debian-tmp.deb ../base-1.1.0-13.all.deb
rm -f -r debian-tmp
