Permalink
Browse files

fix PATH when building rpm

SVN Revision: 438
  • Loading branch information...
1 parent b0c11fe commit a6cfc8d3f5162e661354d2b79dc38df394a5e7f2 @nniclausse nniclausse committed Nov 19, 2004
Showing with 3 additions and 2 deletions.
  1. +2 −1 Makefile
  2. +1 −1 idx-tsunami.spec
View
@@ -271,7 +271,8 @@ ebin/%.beam: src/$(CONTROLLER_APPLICATION)/%.erl $(INC_FILES)
%.pl: src/%.pl.src Makefile
@$(SED) -e 's;%VERSION%;$(VERSION);g' \
- -e 's;%DTD%;$(SHARE_DIR)/$(DTD);g' < $< > $@
+ -e 's;%DTD%;$(SHARE_DIR)/$(DTD);g' \
+ -e 's;${DESTDIR};;g' < $< > $@
idx-tsunami.sh: idx-tsunami.sh.in include.mk Makefile
@$(SED) \
View
@@ -39,7 +39,7 @@ make
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall
+export DESTDIR=$RPM_BUILD_ROOT %makeinstall
install -m644 CONTRIBUTORS $RPM_BUILD_ROOT/usr/share/doc/%{name}/
install -m644 README $RPM_BUILD_ROOT/usr/share/doc/%{name}/
install -m644 TODO $RPM_BUILD_ROOT/usr/share/doc/%{name}/

0 comments on commit a6cfc8d

Please sign in to comment.