diff --git a/share/doc/papers/timecounter/Makefile b/share/doc/papers/timecounter/Makefile index e866aad2c9f7..252dba347761 100644 --- a/share/doc/papers/timecounter/Makefile +++ b/share/doc/papers/timecounter/Makefile @@ -5,9 +5,16 @@ # or you will not get the illustration. VOLUME= papers DOC= timecounter -SRCS= tmac.usenix timecounter.ms +SRCS= tmac.usenix timecounter.ms-patched +EXTRA= fig1.eps fig2.eps fig3.eps fig4.eps fig5.eps gps.ps intr.ps +MACROS= -ms +CLEANFILES= timecounter.ms-patched USE_PIC=1 USE_EQN=1 USE_TBL=1 +timecounter.ms-patched: timecounter.ms + sed -E -e 's;(gps|intr).ps;${.CURDIR}/&;' -e 's;fig[0-9].eps;${.CURDIR}/&;' \ + ${.ALLSRC} > ${.TARGET} + .include