From 1dff0d09ebd829447882e51bae7c078623bce20c Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 3 Jan 2026 10:50:36 +1000 Subject: [PATCH] Makefile: install and uninstall targets handle eglew.h (via Fedora) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0579ccb..0ff4e2c 100644 --- a/Makefile +++ b/Makefile @@ -232,6 +232,7 @@ install.bin: glew.bin install.include: $(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)" + $(INSTALL) -m 0644 include/GL/eglew.h "$(DESTDIR)$(INCDIR)/" $(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/" $(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/" $(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/" @@ -243,6 +244,7 @@ install.pkgconfig: glew.pc $(INSTALL) -m 0644 glew.pc "$(DESTDIR)$(PKGDIR)/" uninstall: + $(RM) "$(DESTDIR)$(INCDIR)/eglew.h" $(RM) "$(DESTDIR)$(INCDIR)/wglew.h" $(RM) "$(DESTDIR)$(INCDIR)/glew.h" $(RM) "$(DESTDIR)$(INCDIR)/glxew.h"