70b7e1c05c
PR: 124987 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
--- Makefile.orig 2008-06-25 10:51:41.579443700 +0200
|
|
+++ Makefile 2008-06-25 10:55:39.374709579 +0200
|
|
@@ -13,6 +13,7 @@
|
|
prefix=/usr
|
|
bindir=$(prefix)/bin
|
|
datadir=$(prefix)/share
|
|
+docsdir=
|
|
|
|
# define top of RPM build area
|
|
topdir=/usr/src/redhat
|
|
@@ -557,18 +558,21 @@
|
|
pouninstall:
|
|
@rm -vf $(DESTDIR)$(datadir)/locale/*/LC_MESSAGES/notecase.mo
|
|
@echo done uninstalling translations
|
|
-
|
|
+
|
|
+docinstall:
|
|
+ install -d -m 755 "$(docsdir)"
|
|
+ $(INSTALL) -m 644 -c docs/help.ncd "$(docsdir)/help.ncd"
|
|
+ $(INSTALL) -m 644 -c docs/license.txt "$(docsdir)/license.txt"
|
|
+
|
|
#
|
|
# install application
|
|
#
|
|
install: notecase$(EXE) poinstall
|
|
install -d -m 755 $(DESTDIR)$(bindir)
|
|
- install -d -m 755 $(DESTDIR)$(datadir)/doc/notecase/
|
|
install -d -m 755 $(DESTDIR)$(datadir)/applications/
|
|
install -d -m 755 $(DESTDIR)$(datadir)/mime/packages/
|
|
install -d -m 755 $(DESTDIR)$(datadir)/pixmaps/
|
|
$(INSTALL) -m 755 $(BIN)/notecase$(EXE) "$(DESTDIR)$(bindir)/notecase$(EXE)"
|
|
- $(INSTALL) -m 644 docs/help.ncd "$(DESTDIR)$(datadir)/doc/notecase/help.ncd"
|
|
$(INSTALL) -m 644 docs/notecase.xml "$(DESTDIR)$(datadir)/mime/packages/notecase.xml"
|
|
$(Q)if [ -n "$(NOKIA_MAEMO_BUILD)" ]; then \
|
|
$(INSTALL) -m 644 docs/notecase.desktop "$(DESTDIR)$(datadir)/applications/hildon/notecase.desktop"; \
|
|
@@ -760,7 +764,7 @@
|
|
#
|
|
# Note: first "make" command forces generating correct help file path in "config.h"
|
|
#
|
|
-DEBSIZE:=$(shell du -ks ./notecase/ | cut -f 1)
|
|
+#DEBSIZE:=$(shell du -ks ./notecase/ | cut -f 1)
|
|
|
|
deb:
|
|
$(Q)mkdir ./notecase
|