Deleted the private clean target in the Makefile, put a CLEANFILES
authorAndreas Schulz <ats@g386bsd.first.bmd.de>
Sat, 12 Feb 1994 21:00:27 +0000 (21:00 +0000)
committerAndreas Schulz <ats@g386bsd.first.bmd.de>
Sat, 12 Feb 1994 21:00:27 +0000 (21:00 +0000)
target into the file instead.

share/syscons/scrnmaps/Makefile

index 8709866..5a78201 100644 (file)
@@ -2,6 +2,7 @@ SCRMAPS = koi8-r2alt.scr
 
 SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
 SCRDIR = /usr/share/syscons/scrnmaps
 
 SCRMAPS_MK = ${SCRMAPS:R:S/$/.mk/g}
 SCRDIR = /usr/share/syscons/scrnmaps
+CLEANFILES+= ${SCRMAPS} ${SCRMAPS_MK}
 NOMAN = noman
 
 all: ${SCRMAPS}
 NOMAN = noman
 
 all: ${SCRMAPS}
@@ -10,9 +11,6 @@ install:
        install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
                ${DESTDIR}${SCRDIR}
 
        install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SCRMAPS} \
                ${DESTDIR}${SCRDIR}
 
-clean:
-       -rm -f ${SCRMAPS} ${SCRMAPS_MK} core *.o
-
 ${SCRMAPS}: ${.TARGET:R}.mk
        ./${.TARGET:R}.mk ${.TARGET}
 
 ${SCRMAPS}: ${.TARGET:R}.mk
        ./${.TARGET:R}.mk ${.TARGET}