Remove avconfig.h and INCINSTDIRs on uninstall.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 24 May 2011 08:08:55 +0000 (10:08 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 24 May 2011 08:09:45 +0000 (10:09 +0200)
subdir.mak

index 8a407fe..33546fd 100644 (file)
@@ -88,9 +88,9 @@ uninstall-libs::
        -$(RM) "$(LIBDIR)/$(LIBNAME)"
 
 uninstall-headers::
-       $(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS))
+       $(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS)) $(addprefix "$(INCINSTDIR)/",$(BUILT_HEADERS))
        $(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
-       -rmdir "$(INCDIR)"
+       -rmdir "$(INCINSTDIR)"
 endef
 
 $(eval $(RULES))