2013-02-16 12:22:53 +01:00
|
|
|
# Copyright (C) 2012, 2013 Tom Willemsen
|
|
|
|
#
|
|
|
|
# This file is part of Markam
|
|
|
|
#
|
|
|
|
# Markam is free software: you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Markam is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Markam. If not, see <http://www.gnu.org/licenses/>.
|
2013-01-06 14:36:51 +01:00
|
|
|
DESTDIR ?= /usr/local
|
|
|
|
|
2013-01-06 15:30:50 +01:00
|
|
|
.PHONY: all install uninstall
|
2013-01-06 14:36:51 +01:00
|
|
|
|
|
|
|
all:
|
|
|
|
install: markam.js
|
2013-01-06 15:52:33 +01:00
|
|
|
$(INSTALL_DATA) markam.js \
|
2013-01-06 14:36:51 +01:00
|
|
|
"$(DESTDIR)/share/conkeror/modules/markam.js"
|
2013-01-06 15:30:50 +01:00
|
|
|
|
2013-01-06 15:59:16 +01:00
|
|
|
install-strip:
|
|
|
|
$(MAKE) install
|
|
|
|
|
2013-01-06 15:30:50 +01:00
|
|
|
uninstall:
|
|
|
|
rm -f "$(DESTDIR)/share/conkeror/modules/markam.js"
|