Permalink
Browse files

Fix install target

  • Loading branch information...
1 parent 1f12b0b commit d1262188bd00d67cc184e825bb09d0703be6ebdf @andoma committed Mar 29, 2009
Showing with 4 additions and 17 deletions.
  1. +0 −9 configure
  2. 0 {src → }/man/showtime.1
  3. +4 −8 support/posix.mk
View
@@ -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
#
File renamed without changes.
View
@@ -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.