]> git.saurik.com Git - bison.git/blobdiff - Makefile.in
Include getopt.h. Add some extern decls.
[bison.git] / Makefile.in
index d3879116d240d463e51e0cb864ff637ae3f6c194..456d9047fe04b5119bb22922655c6205e114c08f 100644 (file)
@@ -44,14 +44,14 @@ LIBS = @LIBS@
 # the GNU alloca.o here.
 ALLOCA = @ALLOCA@
 
-prefix = /usr/local
-exec_prefix = $(prefix)
+prefix = @prefix@
+exec_prefix = @exec_prefix@
 
 # where the installed binary goes
 bindir = $(exec_prefix)/bin
 
 # where the parsers go
-datadir = $(prefix)/lib
+datadir = $(prefix)/share
 
 # where the info files go
 infodir = $(prefix)/info
@@ -70,8 +70,8 @@ DISTFILES = COPYING ChangeLog Makefile.in configure configure.in \
     output.c print.c reader.c reduce.c symtab.c version.c \
     warshall.c files.h gram.h lex.h machine.h new.h state.h \
     symtab.h system.h types.h bison.cld build.com vmsgetargs.c \
-    vmshlp.mar README INSTALL bison.texinfo bison.info* texinfo.tex \
-    getopt.c getopt.h getopt1.c alloca.c mkinstalldirs
+    vmshlp.mar README INSTALL NEWS bison.texinfo bison.info* texinfo.tex \
+    getopt.c getopt.h getopt1.c alloca.c mkinstalldirs install-sh
 
 
 SHELL = /bin/sh
@@ -124,13 +124,11 @@ realclean: distclean
 # Most of these deps are in case using RCS.
 install: all bison.1 $(srcdir)/$(PFILE) $(srcdir)/$(PFILE1) installdirs uninstall
        $(INSTALL_PROGRAM) bison $(bindir)/bison
-       $(INSTALL_DATA) ./bison.s1 $(datadir)/$(PFILE)
+       $(INSTALL_DATA) bison.s1 $(datadir)/$(PFILE)
        $(INSTALL_DATA) $(srcdir)/$(PFILE1) $(datadir)/$(PFILE1)
-       -chmod a+r $(datadir)/$(PFILE) $(datadir)/$(PFILE1) 
-       -$(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
-       -chmod a+r $(mandir)/bison.$(manext)
        cd $(srcdir); for f in bison.info*; \
        do $(INSTALL_DATA) $$f $(infodir)/$$f; done
+       -$(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
 
 # Make sure all installation directories, e.g. $(bindir) actually exist by
 # making them if necessary.