summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f53b7f6..a3cacb8 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,12 @@ laugeas.o: CFLAGS+=$(AUGEAS_CFLAGS)
augeas.so: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -fPIC -shared $^ $(LIBS)
+doc : laugeas.c
+ lunadoc -d ./doc *.c
+
clean:
rm -f augeas.so $(OBJS)
+ rm -rf doc
install: augeas.so
install -D augeas.so $(DESTDIR)$(INSTALL_CMOD)/augeas.so