961f4d86d1
This tool simply outputs the aggregate size of all files in one or more directories, defaulting to the current directory. It does not recurse. The tool's primary purpose is for use with the shell prompt.
23 lines
649 B
Text
23 lines
649 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $
|
|
|
|
--- Makefile.orig 2005-04-09 17:48:01.000000000 -0500
|
|
+++ Makefile
|
|
@@ -1,7 +1,7 @@
|
|
-CFLAGS += -Wimplicit -Wall -pedantic-errors --std=gnu99 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
|
|
+CFLAGS += -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
|
|
|
|
EXENAME = dirsize
|
|
-PREFIX = /usr
|
|
+#PREFIX = /usr
|
|
BINDIR = $(PREFIX)/bin
|
|
|
|
all: $(EXENAME)
|
|
@@ -10,6 +10,5 @@ clean:
|
|
-rm -f $(EXENAME)
|
|
|
|
install: all
|
|
- strip $(EXENAME)
|
|
- install -d $(DESTDIR)/$(BINDIR)
|
|
- install -c $(EXENAME) $(DESTDIR)/$(BINDIR)
|
|
+ ${BSD_INSTALL_PROGRAM_DIR} $(BINDIR)
|
|
+ ${BSD_INSTALL_PROGRAM} $(EXENAME) $(BINDIR)
|