Add GNUmakerules, GNUmakevars; Remove very obsolete target install_all
This commit is contained in:
parent
f052403e23
commit
5935f6a0e6
|
@ -5,12 +5,11 @@ prwtmp:
|
|||
|
||||
install: $(ROOT)/usr/local/bin/prwtmp $(ROOT)/usr/local/man/man8/prwtmp.8
|
||||
|
||||
install_all:
|
||||
$(MAKE) install ROOT=/nfs/wsrdb
|
||||
$(MAKE) install ROOT=/nfs/wsrcom
|
||||
$(MAKE) install ROOT=/nfs/wifosv
|
||||
$(MAKE) install ROOT=/nfs/ihssv
|
||||
$(MAKE) install ROOT=/nfs/wsrtest
|
||||
clean:
|
||||
rm prwtmp
|
||||
|
||||
distclean: clean
|
||||
rm GNUmakerules GNUmakevars
|
||||
|
||||
$(ROOT)/usr/local/bin/%: %
|
||||
$(INSTALL) $< $@
|
||||
|
@ -18,8 +17,8 @@ $(ROOT)/usr/local/bin/%: %
|
|||
$(ROOT)/usr/local/man/man8/%.8: %.man
|
||||
$(INSTALL) $< $@
|
||||
|
||||
clean:
|
||||
rm prwtmp
|
||||
GNUmakevars: GNUmakevars.sh
|
||||
sh ./$^ > $@
|
||||
GNUmakerules: GNUmakerules.pl
|
||||
perl ./$^ > $@
|
||||
|
||||
distclean: clean
|
||||
rm GNUmakerules GNUmakevars
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/perl
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
print "\$(BINDIR)/%: %\n";
|
||||
print "\tcp \$^ \$@\n";
|
||||
print "\$(MAN1DIR)/%: %\n";
|
||||
print "\tcp \$^ \$@\n";
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
prefix=${prefix:-/usr/local}
|
||||
echo "BINDIR=$prefix/bin"
|
||||
echo
|
||||
echo "all:"
|
Loading…
Reference in New Issue