Skip to content

Commit 3c9f06c

Browse files
committed
right way to restore original darshan-apmpi.c
1 parent 57a8b47 commit 3c9f06c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/Makefile.am

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ BUILT_SOURCES = $(apmpi_c_saved)
1818

1919
EXTRA_DIST = patched_darshan-apmpi.c orig_darshan-apmpi.c
2020

21-
clean:
22-
rm -f $(apmpi_c_saved)
23-
cp -f $(apmpi_c_orig) $(apmpi_c_src)
21+
CLEANFILES = $(apmpi_c_saved)
22+
23+
clean-local:
24+
cp -f -p $(apmpi_c_orig) $(apmpi_c_src)
2425

0 commit comments

Comments
 (0)