r9461: Couple of very small fixes.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 21 Aug 2005 23:56:47 +0000 (23:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:18 +0000 (13:34 -0500)
packaging/debian/rules
source/heimdal_build/asn1_deps.pl
source/pidl/pidl

index 4ae928a9e7609f40913498a759059d9309f1e96f..8c62eed660f75cdc5cea730fded379ded9f1da68 100755 (executable)
@@ -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
index 11e6bad706335c85f449deb16d4c9efb91205205..cc95fb221794d0d0559da2c9f14f84710bb0ee4e 100755 (executable)
@@ -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";
index 9daf60eff47977547246ea6fc472476065aa4c90..14be05c042db38621f0dd739c9d01f7a3c4a579b 100755 (executable)
@@ -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);