blob: 8e78c9a00413e33ed3aab8715721c63490b68c40 [file] [log] [blame]
Stefan Reinauer14e22772010-04-27 06:56:47 +00001#
Stefan Reinauerf64b42e2010-02-09 15:15:29 +00002# Copyright (C) 2010 coresystems GmbH
Stefan Reinauer14e22772010-04-27 06:56:47 +00003#
Stefan Reinauerc4225c82006-10-19 19:08:00 +00004# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
Stefan Reinauerf64b42e2010-02-09 15:15:29 +00006# the Free Software Foundation; version 2 of the License.
Stefan Reinauer14e22772010-04-27 06:56:47 +00007#
Stefan Reinauerc4225c82006-10-19 19:08:00 +00008# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
Stefan Reinauer14e22772010-04-27 06:56:47 +000012#
Stefan Reinauerc4225c82006-10-19 19:08:00 +000013# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
Paul Menzela46a7122013-02-23 18:37:27 +010015# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Stefan Reinauer14e22772010-04-27 06:56:47 +000016#
Stefan Reinauerc4225c82006-10-19 19:08:00 +000017
Stefan Reinauer0a3f6072006-10-17 20:58:47 +000018
Stefan Reinauerf64b42e2010-02-09 15:15:29 +000019SVNVERSION := $(shell LC_ALL=C svnversion -cn ../.. | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/" | grep "[0-9]" || LC_ALL=C svn info . | grep ^Revision | sed "s/.*[[:blank:]]\+\([0-9]*\)[^0-9]*/\1/" | grep "[0-9]" || echo unknown)
20
Stefan Reinauer14e22772010-04-27 06:56:47 +000021all:
Stefan Reinauerf64b42e2010-02-09 15:15:29 +000022 cd ../..; util/optionlist/kconfig2wiki src/Kconfig $(SVNVERSION) > util/optionlist/Options.wiki
Stefan Reinauer0a3f6072006-10-17 20:58:47 +000023
arch import user (historical)8c8cbac2005-07-06 16:57:34 +000024clean:
Stefan Reinauerf64b42e2010-02-09 15:15:29 +000025 rm -rf Options.wiki
Stefan Reinauerc4225c82006-10-19 19:08:00 +000026