Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 1 | # |
Stefan Reinauer | f64b42e | 2010-02-09 15:15:29 +0000 | [diff] [blame] | 2 | # Copyright (C) 2010 coresystems GmbH |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 3 | # |
Stefan Reinauer | c4225c8 | 2006-10-19 19:08:00 +0000 | [diff] [blame] | 4 | # 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 Reinauer | f64b42e | 2010-02-09 15:15:29 +0000 | [diff] [blame] | 6 | # the Free Software Foundation; version 2 of the License. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 7 | # |
Stefan Reinauer | c4225c8 | 2006-10-19 19:08:00 +0000 | [diff] [blame] | 8 | # 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 Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 12 | # |
Stefan Reinauer | c4225c8 | 2006-10-19 19:08:00 +0000 | [diff] [blame] | 13 | # 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 Menzel | a46a712 | 2013-02-23 18:37:27 +0100 | [diff] [blame] | 15 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 16 | # |
Stefan Reinauer | c4225c8 | 2006-10-19 19:08:00 +0000 | [diff] [blame] | 17 | |
Stefan Reinauer | 0a3f607 | 2006-10-17 20:58:47 +0000 | [diff] [blame] | 18 | |
Stefan Reinauer | f64b42e | 2010-02-09 15:15:29 +0000 | [diff] [blame] | 19 | SVNVERSION := $(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 Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 21 | all: |
Stefan Reinauer | f64b42e | 2010-02-09 15:15:29 +0000 | [diff] [blame] | 22 | cd ../..; util/optionlist/kconfig2wiki src/Kconfig $(SVNVERSION) > util/optionlist/Options.wiki |
Stefan Reinauer | 0a3f607 | 2006-10-17 20:58:47 +0000 | [diff] [blame] | 23 | |
arch import user (historical) | 8c8cbac | 2005-07-06 16:57:34 +0000 | [diff] [blame] | 24 | clean: |
Stefan Reinauer | f64b42e | 2010-02-09 15:15:29 +0000 | [diff] [blame] | 25 | rm -rf Options.wiki |
Stefan Reinauer | c4225c8 | 2006-10-19 19:08:00 +0000 | [diff] [blame] | 26 | |