small problem - stds.h deleted on clean, no way to remake

Love lha at stacken.kth.se
Tue Mar 16 21:51:58 CET 1999


"Neulinger, Nathan R." <nneul at umr.edu> writes:

> stds.h in include is deleted by make clean, but does not have any way to
> recreate it. Probably should be added to ../util like the others and
> symlinked in as a dependency rule.

and

> This would make things a whole lot nicer for those of us who are maintaining
> a copy of arla in CVS. This patch just adds a bunch of .cvsignore files
> listing all the files that get built.


Both you probles is related to that you build in the source tree.

We don't.

The first problem the later patch should fix. The second problem is fixed
by building out of the tree. Guess we can add all those .cvsignore files
but building out of the source-tree is a lot cleaner (and easier when
maintaining more then on platform)

Love


Index: Makefile.in
===================================================================
RCS file: /usr/local/cvsroot/arla/include/Makefile.in,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -w -u -w -r1.27 -r1.28
--- Makefile.in	1999/03/04 01:38:03	1.27
+++ Makefile.in	1999/03/16 20:43:39	1.28
@@ -31,8 +31,10 @@
 		  resolve.h rxkad.h service.h mmaptime.h ports.h \
 		  heap.h
 
-HEADERS		= atypes.h fs_errors.h stds.h
+BUILDHEADERS	= atypes.h fs_errors.h 
 
+HEADERS		= stds.h $(BUILDHEADERS)
+
 BITS_OBJECTS	= bits.o
 
 SOURCES		= bits.c
@@ -64,7 +66,7 @@
 	./bits $@
 
 clean:
-	rm -f bits *.o $(HEADERS) $(LOCL_HEADERS)
+	rm -f bits *.o $(BUILDHEADERS) $(LOCL_HEADERS)
 
 Makefile: Makefile.in ../config.status
 	cd ..; CONFIG_FILES=include/Makefile CONFIG_HEADERS= ./config.status







More information about the Arla-drinkers mailing list