Changeset 874960b


Ignore:
Timestamp:
Jul 27, 2017, 4:35:36 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
a2e0687
Parents:
fcd17b2f
Message:

Man pages are now install on make install

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    rfcd17b2f r874960b  
    2424lib
    2525include
     26share
    2627
    2728# src executables, for lib and bin
  • Makefile.am

    rfcd17b2f r874960b  
    2121
    2222MAINTAINERCLEANFILES = lib/* bin/* src/examples/.deps/* src/tests/.deps/* src/tests/.out/*
     23
     24man1_MANS = doc/man/cfa.1
  • Makefile.in

    rfcd17b2f r874960b  
    131131    *) (install-info --version) >/dev/null 2>&1;; \
    132132  esac
     133am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     134am__vpath_adj = case $$p in \
     135    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     136    *) f=$$p;; \
     137  esac;
     138am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
     139am__install_max = 40
     140am__nobase_strip_setup = \
     141  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
     142am__nobase_strip = \
     143  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
     144am__nobase_list = $(am__nobase_strip_setup); \
     145  for p in $$list; do echo "$$p $$p"; done | \
     146  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
     147  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
     148    if (++n[$$2] == $(am__install_max)) \
     149      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
     150    END { for (dir in files) print dir, files[dir] }'
     151am__base_list = \
     152  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
     153  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
     154am__uninstall_files_from_dir = { \
     155  test -z "$$files" \
     156    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
     157    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
     158         $(am__cd) "$$dir" && rm -f $$files; }; \
     159  }
     160man1dir = $(mandir)/man1
     161am__installdirs = "$(DESTDIR)$(man1dir)"
     162NROFF = nroff
     163MANS = $(man1_MANS)
    133164RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
    134165  distclean-recursive maintainer-clean-recursive
     
    335366EXTRA_DIST = Docs                       # non-source files
    336367MAINTAINERCLEANFILES = lib/* bin/* src/examples/.deps/* src/tests/.deps/* src/tests/.out/*
     368man1_MANS = doc/man/cfa.1
    337369all: config.h
    338370        $(MAKE) $(AM_MAKEFLAGS) all-recursive
     
    387419distclean-hdr:
    388420        -rm -f config.h stamp-h1
     421install-man1: $(man1_MANS)
     422        @$(NORMAL_INSTALL)
     423        @list1='$(man1_MANS)'; \
     424        list2=''; \
     425        test -n "$(man1dir)" \
     426          && test -n "`echo $$list1$$list2`" \
     427          || exit 0; \
     428        echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
     429        $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
     430        { for i in $$list1; do echo "$$i"; done;  \
     431        if test -n "$$list2"; then \
     432          for i in $$list2; do echo "$$i"; done \
     433            | sed -n '/\.1[a-z]*$$/p'; \
     434        fi; \
     435        } | while read p; do \
     436          if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
     437          echo "$$d$$p"; echo "$$p"; \
     438        done | \
     439        sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
     440              -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
     441        sed 'N;N;s,\n, ,g' | { \
     442        list=; while read file base inst; do \
     443          if test "$$base" = "$$inst"; then list="$$list $$file"; else \
     444            echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
     445            $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
     446          fi; \
     447        done; \
     448        for i in $$list; do echo "$$i"; done | $(am__base_list) | \
     449        while read files; do \
     450          test -z "$$files" || { \
     451            echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
     452            $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
     453        done; }
     454
     455uninstall-man1:
     456        @$(NORMAL_UNINSTALL)
     457        @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
     458        files=`{ for i in $$list; do echo "$$i"; done; \
     459        } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
     460              -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
     461        dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
    389462
    390463# This directory's subdirectories are mostly independent; you can cd
     
    684757check-am: all-am
    685758check: check-recursive
    686 all-am: Makefile config.h
     759all-am: Makefile $(MANS) config.h
    687760installdirs: installdirs-recursive
    688761installdirs-am:
     762        for dir in "$(DESTDIR)$(man1dir)"; do \
     763          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
     764        done
    689765install: install-recursive
    690766install-exec: install-exec-recursive
     
    739815info-am:
    740816
    741 install-data-am:
     817install-data-am: install-man
    742818
    743819install-dvi: install-dvi-recursive
     
    755831install-info-am:
    756832
    757 install-man:
     833install-man: install-man1
    758834
    759835install-pdf: install-pdf-recursive
     
    785861ps-am:
    786862
    787 uninstall-am:
     863uninstall-am: uninstall-man
     864
     865uninstall-man: uninstall-man1
    788866
    789867.MAKE: $(am__recursive_targets) all install-am install-strip
     
    798876        install-data install-data-am install-dvi install-dvi-am \
    799877        install-exec install-exec-am install-html install-html-am \
    800         install-info install-info-am install-man install-pdf \
    801         install-pdf-am install-ps install-ps-am install-strip \
    802         installcheck installcheck-am installdirs installdirs-am \
    803         maintainer-clean maintainer-clean-generic mostlyclean \
    804         mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
    805         uninstall-am
     878        install-info install-info-am install-man install-man1 \
     879        install-pdf install-pdf-am install-ps install-ps-am \
     880        install-strip installcheck installcheck-am installdirs \
     881        installdirs-am maintainer-clean maintainer-clean-generic \
     882        mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
     883        tags-am uninstall uninstall-am uninstall-man uninstall-man1
    806884
    807885.PRECIOUS: Makefile
Note: See TracChangeset for help on using the changeset viewer.