Start by breaking my own rule about not changing this code;
authorSam Hartman <hartmans@mit.edu>
Sat, 2 Nov 1996 08:20:55 +0000 (08:20 +0000)
committerSam Hartman <hartmans@mit.edu>
Sat, 2 Nov 1996 08:20:55 +0000 (08:20 +0000)
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.in [moved from src/util/send-pr/Makefile with 57% similarity]
src/util/send-pr/configure.in [new file with mode: 0644]

similarity index 57%
rename from src/util/send-pr/Makefile
rename to src/util/send-pr/Makefile.in
index f204b9aa4bca5df77b6e7a8c6180699a38ce029b..0c71461655553aa50041f6b8d4c558a3fec9e1fc 100644 (file)
@@ -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 (file)
index 0000000..58a989c
--- /dev/null
@@ -0,0 +1,6 @@
+AC_INIT(configure.in)
+CONFIG_RULES
+
+
+
+V5_AC_OUTPUT_MAKEFILE