Create standard directory to place themes in. I am working on a windows-native theme and will place the code here. This directory should also hold any themes we would like distrubuted with GNUstep which are created by Thematic.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28512 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-08-23 04:20:11 +00:00
parent 54e2773b7f
commit 005eacab54
4 changed files with 130 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2009-08-23 00:18-EDT Gregory John Casamento <greg.casamento@gmail.com>
* GNUmakefile: Add themes directory
* Themes/GNUmakefile: New makefile
* Themes/GNUmakefile.postamble: Makefile to copy themes.
2009-08-22 Stefan Bidigaray <stefanbidi@gmail.com>
* configure.ac: Updated

View file

@ -63,7 +63,8 @@ TextConverters \
ColorPickers \
KeyBindings \
Resources \
Printing
Printing \
Themes
ifeq ($(doc), yes)
SUBPROJECTS += Documentation

43
Themes/GNUmakefile Normal file
View file

@ -0,0 +1,43 @@
#
# Themes makefile for GNUstep GUI Library
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Author: Gregory Casamento <greg.casamento@gmail.com>
# Date: August 2009
#
# This file is part of the GNUstep GUI Library.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; see the file COPYING.LIB.
# If not, see <http://www.gnu.org/licenses/> or write to the
# Free Software Foundation, 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
PACKAGE_NAME = gnustep-gui
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../Version
themedir = $(GNUSTEP_LIBRARY)/Themes
THEME_FILES =
-include GNUmakefile.preamble
-include GNUmakefile.local
# We don't actually build anything in this directory so
# just include the common makefile rules
include $(GNUSTEP_MAKEFILES)/rules.make
include GNUmakefile.postamble

View file

@ -0,0 +1,79 @@
#
# GNUmakefile.postamble
#
# Copyright (C) 2009 Free Software Foundation, Inc.
#
# Author: Gregory Casamento <greg.casamento@gmail.com>
#
# This file is part of the GNUstep GUI Library.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; see the file COPYING.LIB.
# If not, see <http://www.gnu.org/licenses/> or write to the
# Free Software Foundation, 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# GNUmakefile.postamble
#
# Project specific makefile rules
#
# Uncomment the targets you want.
# The double colons (::) are important, do not make them single colons
# otherwise the normal makefile rules will not be performed.
#
# Things to do before compiling
# before-all::
# Things to do after compiling
# after-all::
$(themedir):
$(MKDIRS) $(themedir)
# Things to do before installing
before-install:: $(themedir)
# Things to do after installing
after-install::
for file in $(THEME_FILES); do \
$(INSTALL_DATA) $$file $(themedir)/$$file ; \
done
# Things to do before uninstalling
# before-uninstall::
# Things to do after uninstalling
after-uninstall::
for file in $(THEME_FILES); do \
rm -f $(themedir)/$$file ; \
done
# Things to do before cleaning
# before-clean::
# Things to do after cleaning
# after-clean::
# Things to do before distcleaning
# before-distclean::
# Things to do after distcleaning
# after-distclean::
# Things to do before checking
# before-check::
# Things to do after checking
# after-check::