summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1996-11-02 08:20:55 +0000
committerSam Hartman <hartmans@mit.edu>1996-11-02 08:20:55 +0000
commit413f8f5eef5fa595b1ed52f75db445c70aaf6ece (patch)
treecbf3d1c66836fe0ffed6e09b483e7fe3d1c53695
parent666978e8274fa841c11b7622373daeb3a260ea10 (diff)
downloadkrb5-413f8f5eef5fa595b1ed52f75db445c70aaf6ece.tar.gz
krb5-413f8f5eef5fa595b1ed52f75db445c70aaf6ece.tar.xz
krb5-413f8f5eef5fa595b1ed52f75db445c70aaf6ece.zip
Start by breaking my own rule about not changing this code;
the Makefile produced by mkdist is too limited for krb5, so we need our own. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9288 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/send-pr/Makefile.in (renamed from src/util/send-pr/Makefile)31
-rw-r--r--src/util/send-pr/configure.in6
2 files changed, 20 insertions, 17 deletions
diff --git a/src/util/send-pr/Makefile b/src/util/send-pr/Makefile.in
index f204b9aa4..0c7146165 100644
--- a/src/util/send-pr/Makefile
+++ b/src/util/send-pr/Makefile.in
@@ -6,43 +6,40 @@ SUBMITTER=net
sendprname = krb5-send-pr
EMACS=emacs
-prefix = /usr/local
-bindir = $(prefix)/bin
-datadir = $(prefix)/lib
infodir = $(prefix)/info
lispdir = $(prefix)/lib/emacs/site-lisp
-mandir = $(prefix)/man
-man1dir = $(mandir)/man1
+man1dir = $(KRB5MANROOT)/man1
+datadir = @datadir@
-all: send-pr install-sid
+all:: send-pr install-sid
send-pr: send-pr.sh
sed -e 's,@DATADIR@,$(datadir),g' \
-e 's,@SUBMITTER@,$(SUBMITTER),g' \
- -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' send-pr.sh > send-pr
+ -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' $(srcdir)/send-pr.sh > send-pr
install-sid: install-sid.sh
- sed -e 's,@BINDIR@,$(bindir),g' install-sid.sh > install-sid
+ sed -e 's,@ADMIN_BINDIR@,$(ADMIN_BINDIR),g' $(srcdir)/install-sid.sh > install-sid
-install: all
+install:: all
if [ -d $(prefix) ]; then true ; else mkdir $(prefix) ; fi
- if [ -d $(bindir) ]; then true ; else mkdir $(bindir) ; fi
- cp send-pr $(bindir)/$(sendprname)
- chmod 755 $(bindir)/$(sendprname)
- cp install-sid $(bindir)
- chmod 755 $(bindir)/install-sid
+ if [ -d $(ADMIN_BINDIR) ]; then true ; else mkdir $(ADMIN_BINDIR) ; fi
+ cp send-pr $(ADMIN_BINDIR)/$(sendprname)
+ chmod 755 $(ADMIN_BINDIR)/$(sendprname)
+ cp install-sid $(ADMIN_BINDIR)
+ chmod 755 $(ADMIN_BINDIR)/install-sid
if [ -d $(datadir) ] ; then true ; else mkdir $(datadir) ; fi
if [ -d $(datadir)/gnats ] ; then true ; else mkdir $(datadir)/gnats ; fi
- cp categories $(datadir)/gnats/mit
+ cp $(srcdir)/categories $(datadir)/gnats/mit
chmod 644 $(datadir)/gnats/mit
-parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
- cp send-pr.1 $(man1dir)/$(sendprname).1
+ cp $(srcdir)/send-pr.1 $(man1dir)/$(sendprname).1
chmod 644 $(man1dir)/$(sendprname).1
-clean:
+clean::
rm -f install-sid send-pr send-pr.el*
diff --git a/src/util/send-pr/configure.in b/src/util/send-pr/configure.in
new file mode 100644
index 000000000..58a989c5b
--- /dev/null
+++ b/src/util/send-pr/configure.in
@@ -0,0 +1,6 @@
+AC_INIT(configure.in)
+CONFIG_RULES
+
+
+
+V5_AC_OUTPUT_MAKEFILE