From 67c4df1bd5b87d6b8896e75038f4709c6ac8d0a5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 25 Oct 2009 04:08:29 -0400 Subject: oops, this is the real commit --- Makefile | 1 + diff/COPYING | 340 ------------------------------------------------------- diff/Makefile.in | 68 ----------- diff/configure | 91 --------------- 4 files changed, 1 insertion(+), 499 deletions(-) delete mode 100644 diff/COPYING delete mode 100644 diff/Makefile.in delete mode 100755 diff/configure diff --git a/Makefile b/Makefile index 497805e..fb50a58 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ distclean-% : % %/ $(RM) -r $<-build/ $(RM) $ - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program 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 General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/diff/Makefile.in b/diff/Makefile.in deleted file mode 100644 index c8af005..0000000 --- a/diff/Makefile.in +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/make -f -#name = Luke's Makefile -#ver = 1.0 -# Copyright (C) 2009 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program 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 General Public License -# along with this program; see the file COPYING. -# If not, see . - -# Directories ######################################################## -DESTDIR = @DESTDIR@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir) -srcdir = @srcdir@ - -# Programs ########################################################### -SHELL = /bin/sh -CC = gcc -INSTALL = install -INSTALL_PROGRAM = $(INSTALL) -INSTALL_DATA = $(INSTALL) -m 644 -MKDIR = $(INSTALL) -d #mkdir -p -RM = rm -f -SED = sed - -include main.mk - -# dist ############################################################### -d = $(name)-$(ver) -.PHONY : dist -dist : $(d).tar.gz - -$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist)) - tar -czf $@ $< - -$(d) : - $(INSTALL) -m 777 -d $@ - -$(d)/% : $(srcdir)/% $(d) - cp $< $@ - -# implicit rules ##################################################### -$(dirs) : - $(MKDIR) $@ - -% : %.sh - $(SED) 's/@VER@/$(ver)/g' < $< > $@ - -$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir) - $(INSTALL_PROGRAM) $< $@ - -Makefile : $(srcdir)/configure - $< - diff --git a/diff/configure b/diff/configure deleted file mode 100755 index 0e10974..0000000 --- a/diff/configure +++ /dev/null @@ -1,91 +0,0 @@ -#!/usr/bin/env bash -name='configure' # Luke's configureation script -#version='1.0' -# Copyright (C) 2009 Luke Shumaker -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program 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 General Public License -# along with this program; see the file COPYING. -# If not, see . - - _prefix='/usr/local' -_exec_prefix='$(prefix)' - _bindir='$(exec_prefix)/bin' - _sbindir='$(exec_prefix)/sbin' - _libexecdir='$(exec_prefix)/libexec' - _srcdir=$(readlink -f `dirname "$0"`) -vars='prefix exec_prefix bindir sbindir libexecdir srcdir' -if [ -f "$_srcdir/config" ]; then . "$_srcdir/config"; fi - -error() { - echo "$name: $1" >> /dev/stderr - exit 1 -} - -args=`getopt -n "$name" -o "${sopt}" -l "${lopt}${vars}" -- "$@"` -if [ $? == 0 ]; then - set -- $args - while [ $# -gt 0 ]; do case "$1" in - --) break;; - --*) - var0="${1/--/}" - match='false' - for var1 in $vars; do - if [ "$var0" == "$var1" ]; then - match='true' - break; - fi - done - if [ "$match" == 'true' ]; then - val="$2" - eval _$var0=$val - else - error "option \`$1' not recognized"; - fi - :;; - *) error "option \`$1' not recognized";; - esac - shift - done -else - error 'unable to parse command line arguments' -fi - -echo '#!/bin/sed -f' > var.sed -for var in $vars; do - var1="_$var" - val=${!var1} - - # GNU bash optimized version - var=${var//':'/'\:'} - val=${val//':'/'\:'} - # POSIX version - #var=`echo "$var" | sed 's@:@\\:@g'` - #val=`echo "$val" | sed 's@:@\\:@g'` - - echo "s:@$var@:$val:g" >> var.sed -done - -echo " -19 a# DO NOT edit this file, it has been generated by configure, and will -19 a# be overwritten. Instead, edit the file \`Makefile.in'" >> var.sed - -Makefiles="`find "${_srcdir}/" -type f -name Makefile.in`" -Makefiles="$Makefiles `find "${_srcdir}/" -type f -name *.mk.in`" -for orig in $Makefiles; do - new=${orig/%.in/} - new=${new/#$_srcdir\//} - mkdir -p `dirname "$new"` - sed -f var.sed < "${orig}" > "${new}" -done -rm var.sed - -- cgit v1.2.3-2-g168b