* device/include/Makefile.in: fix install
[fw/sdcc] / device / include / Makefile.in
index bdae4465dcee7c8aceb23971d1c0ac62058147d7..ec5408fac01cb2cd52789c8d2041a55319981eb5 100644 (file)
@@ -37,10 +37,11 @@ CPPFLAGS        = @CPPFLAGS@ -I$(PRJDIR)
 # ------------------------------------------
 all:
 
-# Compiling and installing everything and runing test
-# ---------------------------------------------------
+# Compiling and installing everything and running test
+# ----------------------------------------------------
 install: all installdirs
-       $(CP) asm/*/features.h *.h $(sdcc_includedir)
+       $(CP) -r asm *.h $(sdcc_includedir)
+       find $(sdcc_includedir) -type d -name 'CVS' -exec rm {} \;
 
 
 # Deleting all the installed files