summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/debian/rules6
-rwxr-xr-xsource4/heimdal_build/asn1_deps.pl2
-rwxr-xr-xsource4/pidl/pidl7
3 files changed, 9 insertions, 6 deletions
diff --git a/packaging/debian/rules b/packaging/debian/rules
index 4ae928a9e7..8c62eed660 100755
--- a/packaging/debian/rules
+++ b/packaging/debian/rules
@@ -24,7 +24,7 @@ configure:
--with-syslog \
--with-readline \
--with-ldap
- cd $(SOURCEPATH)/build/pidl && perl Makefile.PL verbose INSTALLDIRS=vendor PREFIX=/usr
+ cd $(SOURCEPATH)/pidl && perl Makefile.PL verbose INSTALLDIRS=vendor PREFIX=/usr
touch $@
build: configure
@@ -32,7 +32,7 @@ build: configure
$(MAKE) -C $(SOURCEPATH) proto
-$(MAKE) -C $(SOURCEPATH) pch
$(MAKE) -C $(SOURCEPATH) all
- $(MAKE) -C $(SOURCEPATH)/build/pidl all
+ $(MAKE) -C $(SOURCEPATH)/pidl all
touch $@
clean:
@@ -65,7 +65,7 @@ install: build
$(MAKE) -C $(SOURCEPATH) manpages installman DESTDIR=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/tmp/etc/samba4
cp $(CURDIR)/debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4
- $(MAKE) -C $(SOURCEPATH)/build/pidl install DESTDIR=$(CURDIR)/debian/tmp
+ $(MAKE) -C $(SOURCEPATH)/pidl install DESTDIR=$(CURDIR)/debian/tmp
binary-arch: build install
dh_testdir -a
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl
index 11e6bad706..cc95fb2217 100755
--- a/source4/heimdal_build/asn1_deps.pl
+++ b/source4/heimdal_build/asn1_deps.pl
@@ -40,7 +40,7 @@ foreach(<IN>) {
}
close(IN);
print $prefix."_clean: \n";
-print "\t\@echo \"Deleting ASN1 ouput files generated from $file\"";
+print "\t\@echo \"Deleting ASN1 output files generated from $file\"";
print "\n\t\@rm -f $header";
foreach $c_file (@c_files) {
print "\n\t\@rm -f $c_file";
diff --git a/source4/pidl/pidl b/source4/pidl/pidl
index 9daf60eff4..14be05c042 100755
--- a/source4/pidl/pidl
+++ b/source4/pidl/pidl
@@ -347,6 +347,9 @@ $dcom
}
}
-foreach my $filename (@ARGV) {
- process_file($filename);
+if (scalar(@ARGV) == 0) {
+ print "pidl: no input files\n";
+ exit(0);
}
+
+process_file($_) foreach (@ARGV);