1###################################################################### 2# Copyright (C) 2019. 3# Author: Vivek Kumar<vvksindia@gmail.com> 4# 5# This program is free software; you can redistribute it and/or 6# modify it under the terms of the GNU General Public License 7# version 2 as published by the Free Software Foundation. 8# 9# This program is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12# GNU General Public License for more details. 13# 14# You should have received a copy of the GNU General Public License along 15# with this program; if not, write to the Free Software Foundation, Inc., 16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17###################################################################### 18 19TOP = ../../.. 20VARS = $(TOP)/Makefile.conf 21include $(VARS) 22 23MOD_NAME = spasht 24MOD_SUBDIR = ui 25 26all: 27 @echo "nothing to do" 28 29install: all 30 $(INSTALL_PROGRAM) -d $(DESTDIR)$(MODDIR)/$(MOD_NAME)/$(MOD_SUBDIR) 31 $(INSTALL_DATA) ./*.php $(DESTDIR)$(MODDIR)/$(MOD_NAME)/$(MOD_SUBDIR) 32 $(INSTALL_PROGRAM) -d $(DESTDIR)$(MODDIR)/$(MOD_NAME)/$(MOD_SUBDIR)/template 33 find template/ -type f -exec $(INSTALL_DATA) {} $(DESTDIR)$(MODDIR)/$(MOD_NAME)/$(MOD_SUBDIR)/{} \; 34 35uninstall: 36 rm -rf $(DESTDIR)$(MODDIR)/$(MOD_NAME)/$(MOD_SUBDIR) 37 38clean: 39 @echo "nothing to do" 40 41.PHONY: all install uninstall clean 42