[Lunar-commits] r21553 - in moonbase/trunk/utils: . unifdef
Moritz Heiber
moe at lunar-linux.org
Sun Sep 24 00:26:25 UTC 2006
Author: moe
Date: 2006-09-24 00:26:25 +0000 (Sun, 24 Sep 2006)
New Revision: 21553
Added:
moonbase/trunk/utils/unifdef/
moonbase/trunk/utils/unifdef/BUILD
moonbase/trunk/utils/unifdef/DETAILS
Log:
We are going to need this for the next kernel upgrade .. say bye-bye
to kernel-headers-2.6 for .18 .. yay
Added: moonbase/trunk/utils/unifdef/BUILD
===================================================================
--- moonbase/trunk/utils/unifdef/BUILD (rev 0)
+++ moonbase/trunk/utils/unifdef/BUILD 2006-09-24 00:26:25 UTC (rev 21553)
@@ -0,0 +1,9 @@
+(
+
+ make clean &&
+ make &&
+
+ prepare_install &&
+ make install
+
+) > $C_FIFO 2>&1
Added: moonbase/trunk/utils/unifdef/DETAILS
===================================================================
--- moonbase/trunk/utils/unifdef/DETAILS (rev 0)
+++ moonbase/trunk/utils/unifdef/DETAILS 2006-09-24 00:26:25 UTC (rev 21553)
@@ -0,0 +1,21 @@
+ MODULE=unifdef
+ VERSION=1.0
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=http://www.cs.cmu.edu/~ajw/public/dist/
+ WEB_SITE=http://www.cs.cmu.edu/~ajw/public/dist/
+ ENTERED=20060924
+ UPDATED=20060924
+ SHORT="remove preprocessor definitions"
+
+cat << EOF
+Unifdef is useful for removing #ifdef'ed lines from a file while
+otherwise leaving the file alone. You specify which symbols are
+defined or undefined with -D and -U flags, and unifdef removes
+the corresponding ifdefs, and the enclosed code if appropriate.
+
+It's especially useful for removing those "#ifdef BROKEN" and
+"#ifdef PRIVATE" clauses from code before you release it. Unifdef
+acts on #ifdef, #ifndef, #else, and #en dif lines, and it knows
+only enough about C and C++ to know when one of these is inactive
+because it is inside a comment, or a single or double quote.
+EOF
More information about the Lunar-commits
mailing list