3 # Integration with xaw-wrappers
5 # If debian/xaw-wrappers file exists, save it to
6 # $TMP/usr/lib/xaw-wrappers/conf/$PACKAGE
8 # Also, add calls to postinst and postrm.
10 BEGIN { push @INC, "debian", "/usr/lib/debhelper" }
14 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
15 $TMP=tmpdir($PACKAGE);
16 $xaw=pkgfile($PACKAGE,'xaw');
19 if (! -d "$TMP/usr/lib/xaw-wrappers/conf") {
20 doit("install","-d","$TMP/usr/lib/xaw-wrappers/conf");
22 doit("install","-p","-m644",$xaw,
23 "$TMP/usr/lib/xaw-wrappers/conf/$PACKAGE");
25 if (! $dh{NOSCRIPTS}) {
26 autoscript($PACKAGE,"postinst","postinst-xaw");
27 autoscript($PACKAGE,"postrm","postrm-xaw");