~ubuntu-branches/ubuntu/saucy/joystick/saucy-proposed

1.1.2 by Stephen Kitt
Import upstream version 1.4~rc1
1
# $Id: Makefile 2413 2011-04-03 17:24:32Z skitt $
2
#
3
# Makefile for Linux input utilities
4
#
1.1.7 by Stephen Kitt
Import upstream version 1.4.6
5
# © 2011-2013 Stephen Kitt <steve@sk2.org>
1.1.2 by Stephen Kitt
Import upstream version 1.4~rc1
6
#
7
# This program is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 2 of the License, or
10
# (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
# 02110-1301 USA.
21
1.1.7 by Stephen Kitt
Import upstream version 1.4.6
22
VERSION := 1.4.6
1.1.2 by Stephen Kitt
Import upstream version 1.4~rc1
23
24
PACKAGE := linuxconsoletools-$(VERSION)
25
26
all: compile
27
28
clean distclean compile:
29
	$(MAKE) -C utils $@
30
31
install:
32
	$(MAKE) -C utils $@
33
	$(MAKE) -C docs $@
34
35
dist: clean
36
	rm -rf $(PACKAGE)
37
	mkdir $(PACKAGE)
38
	cp -a docs utils COPYING Makefile NEWS README $(PACKAGE)
39
	(cd $(PACKAGE); find . -name .svn -o -name *~ | xargs rm -rf; rm docs/FB-Driver-HOWTO docs/console.txt)
40
	tar cjf $(PACKAGE).tar.bz2 $(PACKAGE)
41
42
.PHONY: all clean distclean compile install dist