]> git.ipfire.org Git - ipfire-3.x.git/blame - lfs/pomona
s/TARGET/OBJECT/g
[ipfire-3.x.git] / lfs / pomona
CommitLineData
cd1a2927 1###############################################################################
cd1a2927 2# #
70df8302
MT
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
cd1a2927 7# it under the terms of the GNU General Public License as published by #
70df8302 8# the Free Software Foundation, either version 3 of the License, or #
cd1a2927
MT
9# (at your option) any later version. #
10# #
70df8302 11# This program is distributed in the hope that it will be useful, #
cd1a2927
MT
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
70df8302 17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
cd1a2927 18# #
cd1a2927
MT
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
1503c95d 27PKG_NAME = pomona
b09ca36a 28VER = ipfire
a6316ce4 29
b09ca36a
MT
30THISAPP = $(PKG_NAME)
31DIR_APP = $(DIR_SOURCE)/$(THISAPP)
32
6679675b 33OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
cd1a2927
MT
34
35###############################################################################
36# Top-level Rules
37###############################################################################
38
6679675b 39install : $(OBJECT)
cd1a2927 40
cd1a2927
MT
41download :
42
cd1a2927
MT
43###############################################################################
44# Installation Details
45###############################################################################
46
6679675b 47$(OBJECT) :
cd1a2927 48 @$(PREBUILD)
04f44fa0
MT
49 cd $(DIR_APP) && make clean
50 #cd $(DIR_APP) && make -C po update-po
1503c95d 51 cd $(DIR_APP) && make lang-names
b907354e 52 cd $(DIR_APP) && make install \
73a7f002 53 NAME=$(NAME) SNAME=$(SNAME) VERSION=$(VERSION) KVER=$(KVER)
b09ca36a 54 cd $(DIR_APP) && make clean
b907354e
MT
55
56 find $(INSTALLER_DIR)/usr/lib/pomona/ -name *.py | xargs /usr/bin/py-compile
cd1a2927 57 @$(POSTBUILD)