Skip to content

Commit

Permalink
BSD compilation option fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dman95 committed Oct 1, 2018
1 parent 8cb7e04 commit e041db8
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions SASM.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,7 @@ isEmpty(PREFIX) {
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share

!unix:!linux {
binfile.files += sasm
binfile.files += Linux/bin/*
binfile.path = $$BINDIR
data.files += Linux/share/sasm/*
data.path = $$DATADIR/sasm/
shortcutfiles.files += Linux/share/applications/sasm.desktop
shortcutfiles.path = $$DATADIR/applications/
docfiles.files += Linux/share/doc/sasm/changelog.gz
docfiles.files += Linux/share/doc/sasm/copyright
docfiles.path = $$DATADIR/doc/sasm/
}

unix:!linux {
bsd {
binfile.files += sasm
binfile.files += BSD/bin/*
binfile.path = $$BINDIR
Expand All @@ -42,6 +29,17 @@ unix:!linux {
docfiles.files += BSD/share/doc/sasm/changelog.gz
docfiles.files += BSD/share/doc/sasm/copyright
docfiles.path = $$DATADIR/doc/sasm/
} else {
binfile.files += sasm
binfile.files += Linux/bin/*
binfile.path = $$BINDIR
data.files += Linux/share/sasm/*
data.path = $$DATADIR/sasm/
shortcutfiles.files += Linux/share/applications/sasm.desktop
shortcutfiles.path = $$DATADIR/applications/
docfiles.files += Linux/share/doc/sasm/changelog.gz
docfiles.files += Linux/share/doc/sasm/copyright
docfiles.path = $$DATADIR/doc/sasm/
}

INSTALLS += binfile
Expand Down

0 comments on commit e041db8

Please sign in to comment.