Skip to content

Commit 2c0498f

Browse files
authored
Merge pull request #153 from rocq-community/fix-nix
Fix install target for nix package
2 parents 748fc54 + 0f5a68f commit 2c0498f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Make_coq.local

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ $(DPDUSAGE) : $(CMOS_DPDUSAGE) $(CMIS_DPDUSAGE)
3636
include Make_coq.conf
3737

3838
install-extra :: $(DPD2DOT) $(DPDUSAGE)
39-
cp $(DPD2DOT) $(DPDUSAGE) $(COQLIB)/../../bin
39+
if [ -d $(BINDIR) ] ; then \
40+
cp $(DPD2DOT) $(DPDUSAGE) $(BINDIR) ; \
41+
else \
42+
cp $(DPD2DOT) $(DPDUSAGE) $(COQLIB)/../../bin ; \
43+
fi
4044

4145
uninstall ::
4246
rm -f $(COQMF_COQLIB)/../../bin/$DPD2DOT)

0 commit comments

Comments
 (0)