> Modified Files:
>       generate.c generate.h 

Any chance we could get a make dist target for renouveau please? The
attached patch works for me, and allows me to build automated daily
snapshots.

Thanks,

Richard

? .autobuild
Index: Makefile
===================================================================
RCS file: /cvsroot/nouveau/renouveau/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	21 Jan 2007 15:10:14 -0000	1.30
+++ Makefile	17 Apr 2007 19:20:57 -0000
@@ -1,4 +1,9 @@
 TARGET=renouveau
+
+VERSION = 0.1
+NV = renouveau-$(VERSION)
+TARBALL = $(NV).tar.gz
+
 CFLAGS=-g -Wall `sdl-config --cflags`
 SDL_LDFLAGS=`sdl-config --libs`
 XEXT_LDFLAGS=-L/usr/X11R6/lib -lXext -lXvMCNVIDIA -lXvMC -lXv
@@ -30,6 +35,25 @@
 # generate.o objects.o re.o regl.o disasm_shader.o nv30_fragprog.o NVCtrl.c nv30_vtxprog.o
 	$(CC) $(CFLAGS) $^ -o gen $(LDFLAGS)
 
+dist:	$(TARBALL)
+
+release:
+	rm -f $(TARBALL)
+	make dist
+	md5sum $(TARBALL) > $(TARBALL).md5
+	
+$(TARBALL):
+	rm -rf $(NV)
+	mkdir $(NV)
+	cp --parents \
+		*.h \
+		*.c \
+		Makefile \
+		license.txt \
+		README \
+		$(NV)/
+	tar cvzf $@ $(NV)
+	rm -rf $(NV)
 
 clean:
 	rm -f $(TARGET) .depend $(patsubst %.c, %.o, $(SOURCES)) disasm_shader re2 re2.o gen nouveau_reg.h generate.o properties.o
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to