Mercurial > artwork > openbox-themes > sonar-openbox-theme
view Makefile @ 2:c11b9a2dec0b version-1
Add NEWS file
author | Guido Berhoerster <guido+sonar-openbox-theme@berhoerster.name> |
---|---|
date | Mon, 09 Mar 2015 11:50:45 +0100 |
parents | 48bfb59ec26d |
children |
line wrap: on
line source
# # Copyright (C) 2010 Guido Berhoerster <guido+sonar-openbox-theme@berhoerster.name> # # This program 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 2 # of the License, or (at your option) any later version. # # This program 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 this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # NAME = sonar-openbox-theme THEME_NAME = Sonar VERSION = 1 DISTNAME = $(NAME)-$(VERSION) PAX := pax GZIP := gzip INSTALL := install INSTALL.data := $(INSTALL) -D -m 0644 DESTDIR ?= prefix ?= /usr/local themesdir ?= $(prefix)/share/themes .DEFAULT_TARGET = all .PHONY: all clean clobber dist install all: install: for theme_file in $(XFWM4_THEME_DIR)/themerc $(XFWM4_DECORATION) \ $(XFWM4_BUTTONS); do \ $(INSTALL.data) $${theme_file} \ "$(DESTDIR)$(themesdir)/$${theme_file}"; \ done clean: clobber: clean dist: all $(PAX) -w -x ustar -s ',.*/\..*,,' -s ',./[^/]*\.tar\.gz,,' \ -s ',\./,$(DISTNAME)/,' . | $(GZIP) > $(DISTNAME).tar.gz