corrected a problem of not honoring DESTDIR in Makefile.am
This commit is contained in:
		@ -3,7 +3,7 @@ AUTOMAKE_OPTION = foreign
 | 
				
			|||||||
# EXTRA_DIST = 
 | 
					# EXTRA_DIST = 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SUBDIRS = lib cmd
 | 
					SUBDIRS = lib cmd
 | 
				
			||||||
DIST_SUBDIRS = $(__COREDIRS) include test
 | 
					DIST_SUBDIRS = $(SUBDIRS) include test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install-data-hook:
 | 
					install-data-hook:
 | 
				
			||||||
	cd include && $(MAKE) install
 | 
						cd include && $(MAKE) install
 | 
				
			||||||
 | 
				
			|||||||
@ -193,7 +193,7 @@ top_srcdir = @top_srcdir@
 | 
				
			|||||||
AUTOMAKE_OPTION = foreign
 | 
					AUTOMAKE_OPTION = foreign
 | 
				
			||||||
# EXTRA_DIST = 
 | 
					# EXTRA_DIST = 
 | 
				
			||||||
SUBDIRS = lib cmd
 | 
					SUBDIRS = lib cmd
 | 
				
			||||||
DIST_SUBDIRS = $(__COREDIRS) include test
 | 
					DIST_SUBDIRS = $(SUBDIRS) include test
 | 
				
			||||||
all: all-recursive
 | 
					all: all-recursive
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.SUFFIXES:
 | 
					.SUFFIXES:
 | 
				
			||||||
 | 
				
			|||||||
@ -9,9 +9,9 @@ pkgincludedir= $(includedir)/qse
 | 
				
			|||||||
CLEANFILES = *dist
 | 
					CLEANFILES = *dist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install-data-hook:
 | 
					install-data-hook:
 | 
				
			||||||
	@"$(GREP)" -E "#define[ ]+QSE_" "$(srcdir)/config.h" > "$(pkgincludedir)/config.h" 
 | 
						@"$(GREP)" -E "#define[ ]+QSE_" "$(srcdir)/config.h" > "$(DESTDIR)$(pkgincludedir)/config.h" 
 | 
				
			||||||
	@"$(RM)" -f "$(pkgincludedir)/config.h.in"
 | 
						@"$(RM)" -f "$(DESTDIR)$(pkgincludedir)/config.h.in"
 | 
				
			||||||
	@"$(SED)" 's|/\*#define QSE_HAVE_CONFIG_H\*/|#define QSE_HAVE_CONFIG_H|' "$(srcdir)/types.h" > "$(pkgincludedir)/types.h" 
 | 
						@"$(SED)" 's|/\*#define QSE_HAVE_CONFIG_H\*/|#define QSE_HAVE_CONFIG_H|' "$(srcdir)/types.h" > "$(DESTDIR)$(pkgincludedir)/types.h" 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uninstall-hook:
 | 
					uninstall-hook:
 | 
				
			||||||
	@"$(RM)" -f "$(pkgincludedir)/config.h"
 | 
						@"$(RM)" -f "$(DESTDIR)$(pkgincludedir)/config.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -551,12 +551,12 @@ uninstall-am: uninstall-pkgincludeHEADERS
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
install-data-hook:
 | 
					install-data-hook:
 | 
				
			||||||
	@"$(GREP)" -E "#define[ ]+QSE_" "$(srcdir)/config.h" > "$(pkgincludedir)/config.h" 
 | 
						@"$(GREP)" -E "#define[ ]+QSE_" "$(srcdir)/config.h" > "$(DESTDIR)$(pkgincludedir)/config.h" 
 | 
				
			||||||
	@"$(RM)" -f "$(pkgincludedir)/config.h.in"
 | 
						@"$(RM)" -f "$(DESTDIR)$(pkgincludedir)/config.h.in"
 | 
				
			||||||
	@"$(SED)" 's|/\*#define QSE_HAVE_CONFIG_H\*/|#define QSE_HAVE_CONFIG_H|' "$(srcdir)/types.h" > "$(pkgincludedir)/types.h" 
 | 
						@"$(SED)" 's|/\*#define QSE_HAVE_CONFIG_H\*/|#define QSE_HAVE_CONFIG_H|' "$(srcdir)/types.h" > "$(DESTDIR)$(pkgincludedir)/types.h" 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uninstall-hook:
 | 
					uninstall-hook:
 | 
				
			||||||
	@"$(RM)" -f "$(pkgincludedir)/config.h"
 | 
						@"$(RM)" -f "$(DESTDIR)$(pkgincludedir)/config.h"
 | 
				
			||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 | 
					# Tell versions [3.59,3.63) of GNU make to not export all variables.
 | 
				
			||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
 | 
					# Otherwise a system limit (for SysV at least) may be exceeded.
 | 
				
			||||||
.NOEXPORT:
 | 
					.NOEXPORT:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user