Skip to content

Commit

Permalink
Fix real_install rules so that headers are still installed correctly …
Browse files Browse the repository at this point in the history
…if includedir is overridden on the commandline.

Bug #149483 r=blizzard
  • Loading branch information
seawood%netscape.com committed Jun 13, 2002
1 parent d9ef6db commit e190f7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nsprpub/config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ ifdef RELEASE_BINS
$(NSINSTALL) -t -m 0755 $(RELEASE_BINS) $(DESTDIR)$(bindir)
endif
ifdef RELEASE_HEADERS
$(NSINSTALL) -t -m 0644 $(RELEASE_HEADERS) $(DESTDIR)$(includedir)
$(NSINSTALL) -t -m 0644 $(RELEASE_HEADERS) $(DESTDIR)$(includedir)/$(include_subdir)
endif
ifdef RELEASE_LIBS
$(NSINSTALL) -t -m 0755 $(RELEASE_LIBS) $(DESTDIR)$(libdir)
Expand Down
2 changes: 1 addition & 1 deletion nsprpub/pr/include/obsolete/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ HEADERS = $(wildcard $(srcdir)/*.h)
RELEASE_HEADERS = $(HEADERS)
RELEASE_HEADERS_DEST = $(RELEASE_INCLUDE_DIR)/obsolete

includedir := $(includedir)/obsolete
include_subdir = obsolete

include $(topsrcdir)/config/rules.mk

Expand Down
2 changes: 1 addition & 1 deletion nsprpub/pr/include/private/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RELEASE_HEADERS_DEST = $(RELEASE_INCLUDE_DIR)/private

HEADERS = $(RELEASE_HEADERS) $(srcdir)/pprmwait.h $(srcdir)/primpl.h

includedir := $(includedir)/private
include_subdir = private

include $(topsrcdir)/config/rules.mk

Expand Down

0 comments on commit e190f7e

Please sign in to comment.