Skip to content

Commit

Permalink
Fix install target
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed Mar 29, 2009
1 parent 1f12b0b commit d126218
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
9 changes: 0 additions & 9 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,6 @@ if [ ${RELEASE} != yes ]; then
echo please reconfigure with '--release'.
fi


if enabled embedded_theme; then
THEMEPATH="zip://embedded://theme|"
elif [ ${RELEASE} = yes ]; then
THEMEPATH="file://${PREFIX}/share/hts/themes/${DEFAULT_THEME}"
else
THEMEPATH="file://${TOPDIR}/themes/${DEFAULT_THEME}"
fi

#
# Finalize
#
Expand Down
File renamed without changes.
12 changes: 4 additions & 8 deletions support/posix.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
prefix ?= $(INSTALLPREFIX)
INSTBIN= $(prefix)/bin
INSTMAN= $(prefix)/share/man1
INSTSHARE= $(prefix)/share/hts/showtime
MAN=man/showtime.1

install: ${PROG}
install: ${PROG} ${MAN}
mkdir -p $(INSTBIN)
cd $(.OBJDIR) && install -s ${PROG} $(INSTBIN)
install -s ${PROG} $(INSTBIN)

mkdir -p $(INSTMAN)
cd man && install ${MAN} $(INSTMAN)

find themes -type d |grep -v .svn | awk '{print "$(INSTSHARE)/"$$0}' | xargs mkdir -p
find themes -type f |grep -v .svn | awk '{print $$0 " $(INSTSHARE)/"$$0}' | xargs -n2 cp
install ${MAN} $(INSTMAN)

uninstall:
rm -f $(INSTBIN)/${PROG}
rm -f $(INSTMAN)/${MAN}
rm -rf $(INSTSHARE)

0 comments on commit d126218

Please sign in to comment.