From 413f8f5eef5fa595b1ed52f75db445c70aaf6ece Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sat, 2 Nov 1996 08:20:55 +0000 Subject: [PATCH] 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 --- src/util/send-pr/{Makefile => Makefile.in} | 31 ++++++++++------------ src/util/send-pr/configure.in | 6 +++++ 2 files changed, 20 insertions(+), 17 deletions(-) rename src/util/send-pr/{Makefile => Makefile.in} (57%) create mode 100644 src/util/send-pr/configure.in diff --git a/src/util/send-pr/Makefile b/src/util/send-pr/Makefile.in similarity index 57% rename from src/util/send-pr/Makefile rename to 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 -- 2.26.2