From 6a9dde7f79b11025f3380329bd4d6a8541000f7d Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Sat, 25 Feb 2012 22:49:55 -0500
Subject: [PATCH] improved install script to include g_undo.h as part of
 include files and cleaned up a few typos

---
 src/makefile.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/makefile.in b/src/makefile.in
index 36798a53d..c0e1f7dca 100644
--- a/src/makefile.in
+++ b/src/makefile.in
@@ -227,6 +227,7 @@ install:  all
 	install -m644 g_canvas.h $(DESTDIR)$(includedir)/pdl2ork/g_canvas.h
 	install -m644 s_stuff.h $(DESTDIR)$(includedir)/pdl2ork/s_stuff.h
 	install -m644 g_all_guis.h $(DESTDIR)$(includedir)/pdl2ork/g_all_guis.h
+	install -m644 g_undo.h $(DESTDIR)$(includedir)/pdl2ork/g_undo.h
 	install -d $(DESTDIR)$(mandir)/man1
 	gzip < ../man/pd.1 >  $(DESTDIR)$(mandir)/man1/@PDEXEC@.1.gz
 	chmod 644 $(DESTDIR)$(mandir)/man1/@PDEXEC@.1.gz
@@ -270,11 +271,7 @@ uninstall:
 	rm -f $(DESTDIR)$(bindir)/@PDEXEC@
 	rm -f $(DESTDIR)$(bindir)/pdsend
 	rm -f $(DESTDIR)$(bindir)/pdreceive
-	rm -f $(DESTDIR)$(includedir)/m_pd.h
-	rm -f $(DESTDIR)$(includedir)/m_imp.h
-	rm -f $(DESTDIR)$(includedir)/s_stuff.h
-	rm -f $(DESTDIR)$(includedir)/g_all_guis.h
-	rm -f $(DESTDIR)$(includedir)/g_canvas.
+	rm -f -r $(DESTDIR)$(includedir)/pdl2ork/
 	rm -f $(DESTDIR)$(mandir)/man1/pd.1.gz
 	rm -f $(DESTDIR)$(mandir)/man1/pdsend.1.gz
 	rm -f $(DESTDIR)$(mandir)/man1/pdreceive.1.gz
-- 
GitLab