From f91121bded545b414b873cd3f3824556d0d2a42e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 Aug 2005 23:56:47 +0000 Subject: [PATCH] r9461: Couple of very small fixes. --- packaging/debian/rules | 6 +++--- source/heimdal_build/asn1_deps.pl | 2 +- source/pidl/pidl | 7 +++++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packaging/debian/rules b/packaging/debian/rules index 4ae928a9e76..8c62eed660f 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/source/heimdal_build/asn1_deps.pl b/source/heimdal_build/asn1_deps.pl index 11e6bad7063..cc95fb22179 100755 --- a/source/heimdal_build/asn1_deps.pl +++ b/source/heimdal_build/asn1_deps.pl @@ -40,7 +40,7 @@ foreach() { } 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/source/pidl/pidl b/source/pidl/pidl index 9daf60eff47..14be05c042d 100755 --- a/source/pidl/pidl +++ b/source/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); -- 2.25.1