summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 331c64c3fcc0d51f1c931ce58d610fa31a63b849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of dbus-browse.
#
# Copyright 2009 Lennart Poettering
#
# dbus-browse 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.1 of the
# License, or (at your option) any later version.
#
# dbus-browse 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 Lesser General Public
# License along with dbus-browse; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

udev-browse: udev-browse.vala gudev-1.0.vapi
	valac --pkg gee-1.0 --pkg gtk+-2.0 --pkg gudev-1.0 --pkg gnu --vapidir=. --Xcc=-D_GNU_SOURCE --Xcc=-DG_UDEV_API_IS_SUBJECT_TO_CHANGE udev-browse.vala

clean:
	rm -f udev-browse

release:
	test "x$$VERSION" != x
	git tag v$$VERSION -m "udev-browse $$VERSION"
	git archive --prefix=udev-browse-$$VERSION/ v$$VERSION | gzip -c > udev-browse-$$VERSION.tar.gz
	scp udev-browse-$$VERSION.tar.gz tango:public/