Changeset 2418 for trunk/Makefile.am
- Timestamp:
- Jan 30, 2011, 4:43:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r2417 r2418 49 49 ## Some targets useful for the maintainer 50 50 ## 51 MAINTAINER_CHECK_LOCAL = maintainer-check-local 51 MAINTAINER_CHECK_LOCAL = maintainer-check-local yat-pc-check 52 52 RELEASE_LOCAL = ltversion-check 53 53 … … 71 71 && cd test && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install yat_check_yat_test 72 72 73 # check that yat.pc is correctly generated with different combinations 74 # of ./configure; make. This target is typically used within 75 # mainatiner-check; if used outside mainatiner-check, please not that 76 # the target callc configure possibly with other arguments, so it's 77 # probably a good a idea to re-configure afterwards. 78 yat-pc-check: 79 $(SHELL) $(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) \ 80 && cd build_support \ 81 && rm yat.pc && make \ 82 && $(GREP) '^prefix=/usr/local' yat.pc \ 83 && $(GREP) '^exec_prefix=$${prefix}' yat.pc \ 84 && $(GREP) '^libdir=$${exec_prefix}/lib' yat.pc \ 85 && $(GREP) '^includedir=$${prefix}/include' yat.pc \ 86 && rm yat.pc && make prefix=foo \ 87 && $(GREP) '^prefix=foo' yat.pc \ 88 && $(GREP) '^exec_prefix=$${prefix}' yat.pc \ 89 && $(GREP) '^libdir=$${exec_prefix}/lib' yat.pc \ 90 && $(GREP) '^includedir=$${prefix}/include' yat.pc \ 91 && rm yat.pc && make prefix=foo exec_prefix=bar \ 92 && $(GREP) '^prefix=foo' yat.pc \ 93 && $(GREP) '^exec_prefix=bar' yat.pc \ 94 && $(GREP) '^libdir=$${exec_prefix}/lib' yat.pc \ 95 && $(GREP) '^includedir=$${prefix}/include' yat.pc \ 96 && rm yat.pc && make prefix=foo exec_prefix=bar libdir=baz includedir=quz\ 97 && $(GREP) '^prefix=foo' yat.pc \ 98 && $(GREP) '^exec_prefix=bar' yat.pc \ 99 && $(GREP) '^libdir=baz' yat.pc \ 100 && $(GREP) '^includedir=quz' yat.pc \ 101 && cd .. \ 102 && $(SHELL) $(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) exec_prefix=/t \ 103 && cd build_support \ 104 && rm yat.pc && make \ 105 && $(GREP) '^prefix=/usr/local' yat.pc \ 106 && $(GREP) '^exec_prefix=/t' yat.pc \ 107 && $(GREP) '^libdir=$${exec_prefix}/lib' yat.pc \ 108 && $(GREP) '^includedir=$${prefix}/include' yat.pc \ 109 && rm yat.pc && make prefix=foo \ 110 && $(GREP) '^prefix=foo' yat.pc \ 111 && $(GREP) '^exec_prefix=/t' yat.pc \ 112 && $(GREP) '^libdir=$${exec_prefix}/lib' yat.pc \ 113 && $(GREP) '^includedir=$${prefix}/include' yat.pc \ 114 && rm yat.pc && make prefix=foo exec_prefix=bar \ 115 && $(GREP) '^prefix=foo' yat.pc \ 116 && $(GREP) '^exec_prefix=bar' yat.pc \ 117 && $(GREP) '^libdir=$${exec_prefix}/lib' yat.pc \ 118 && $(GREP) '^includedir=$${prefix}/include' yat.pc \ 119 && rm yat.pc && make prefix=foo exec_prefix=bar libdir=baz includedir=quz\ 120 && $(GREP) '^prefix=foo' yat.pc \ 121 && $(GREP) '^exec_prefix=bar' yat.pc \ 122 && $(GREP) '^libdir=baz' yat.pc \ 123 && $(GREP) '^includedir=quz' yat.pc 124 125 73 126 include $(srcdir)/am/maintainer.am
Note: See TracChangeset
for help on using the changeset viewer.